Hash Generator/Hash Verifier
Compute a cryptographic hash of any text instantly, entirely in your browser — nothing is sent to a server. Uses the native Web Crypto API (SubtleCrypto), the same trusted implementation your browser uses for TLS, so results are fast and standards-correct. Also includes a hash verifier, so you can check whether a piece of text matches a hash you already have.
Verify a hash
Paste a known hash and the text you think produced it — the algorithm is auto-detected from the hash's length.
How to use
- Type or paste the text you want to hash.
- SHA-1, SHA-256, SHA-384, and SHA-512 digests all appear at once — no need to pick one first.
- Copy the hex digest you need with one click.
- To verify instead: paste a known hash and a candidate text into the "Verify a hash" section below — the algorithm is detected automatically from the hash's length.
FAQ
Is my text sent anywhere?
No. Hashing runs locally via the browser's built-in Web Crypto API — the text never leaves your device.
Which algorithm should I use?
SHA-256 is the standard choice for most modern uses (checksums, integrity checks). SHA-1 is included for compatibility with older systems but is not considered collision-resistant for security purposes — avoid it for anything sensitive.
Why isn't MD5 available?
The Web Crypto API intentionally does not implement MD5, since it's cryptographically broken. This tool only exposes algorithms SubtleCrypto actually supports.
Can I decode or reverse a hash back to the original text?
No — hashing is a one-way function by design, there is no valid input that reconstructs the original text from a hash alone. What this tool's "Verify a hash" section does instead is recompute the hash of a candidate text and compare it to a known hash — useful for checking a password or file matches, but not decoding.