Generate cryptographic hashes of text
A hash turns any input into a fixed-length fingerprint. The same input always produces the same hash, but you can't work backwards to the original, which makes hashes useful for verifying integrity and comparing values without storing them in the clear. This tool computes SHA-1, SHA-256, and SHA-512 digests of whatever text you give it, right in your browser.
How to use it
- Paste the text you want to hash.
- Read the digests for each algorithm.
- Copy the one you need to compare or store.
What hashes are for
- Checking that a file or message hasn't changed by comparing fingerprints.
- Generating a stable key from a longer value.
- Comparing two inputs for equality without revealing them.
Questions people ask
Which algorithm should I use? Prefer SHA-256 or SHA-512. SHA-1 is included for compatibility but is considered weak for security-critical uses.
Is a hash the same as encryption? No — encryption is reversible with a key; a hash is one-way by design.
Is my text sent anywhere? No, the hashing happens locally using your browser's crypto engine.