The standard test vector
- Input
- abc
- Output
- ba7816bf8f01cfea…f20015ad
The published SHA-256 of the string abc. Any correct implementation produces this, which makes it a quick way to confirm a tool is working.
A hash turns any input into a fixed-length fingerprint, so two files can be compared without transferring either one. This tool uses the browser's own Web Crypto implementation for the SHA family and can hash a file without loading it anywhere but memory. MD5 and SHA-1 are included because real systems still use them, but both are labelled with what they are no longer safe for.
Runs entirely in your browser — nothing you paste is uploaded.
Hashing is not password storage. A password needs a deliberately slow algorithm such as Argon2 or bcrypt, with a salt stored alongside it.
How to
SHA-256 is the sensible default. MD5 and SHA-1 are available for legacy systems and are marked with what they must not be used for.
Type or paste text, or select a file to hash its exact bytes. A downloaded ISO or installer can be checked this way without uploading it.
The hash appears as lowercase hexadecimal. Text input hashes as you type; a file is read once and hashed in one pass.
Paste the expected value into the verification field. Comparison ignores case and any filename after the hash, which is how checksums are usually published.
Examples
The published SHA-256 of the string abc. Any correct implementation produces this, which makes it a quick way to confirm a tool is working.
The text is encoded as UTF-8 before hashing. Libraries that default to Latin-1 produce a completely different digest for the same visible text, which is a common source of mismatches.
The file is read in your browser and never uploaded. Comparison ignores case and trailing filenames, so you can paste a checksum line straight from a release page.
Why use it
SHA hashes come from Web Crypto rather than a hand-written implementation, so they are the same code the browser uses for TLS.
A file is read locally and hashed in memory, which means you can verify a download without sending it anywhere.
MD5 and SHA-1 are offered with a plain statement of what broke them and when, rather than being listed as equal options.
Text is hashed as UTF-8, so accented and non-Latin input produces the digest other correct tools produce.
Good to know
Summary
FAQ
Discover