SHA Hash Generator
SHA Hash Generator: Type or paste text to compute its SHA-1, SHA-256, SHA-384 and SHA-512 digests as lowercase hexadecimal. Hashing uses the browser's built-in Web Crypto (SubtleCrypto) API, so the standard digests are computed locally and your input never leaves the page.
Data as of 2026-06-13.
How it works
A cryptographic hash maps input of any length to a fixed-size digest. The same input always yields the same digest, and it is computationally infeasible to find two inputs with the same SHA-256/384/512 digest, which makes hashes useful for integrity checks and fingerprints.
This tool encodes your text as UTF-8 and computes the SHA-1, SHA-256, SHA-384 and SHA-512 digests with the browser's Web Crypto SubtleCrypto.digest API, displaying each as lowercase hexadecimal. Everything happens on your device.
Runs fully client-side in your browser. Source: published web standards (RFCs and the WHATWG/W3C specifications), as implemented by your browser. Verified 2026-06-13.
Frequently asked questions
Which hash should I use?
SHA-256 is the modern default for most integrity and fingerprinting needs. Use SHA-384 or SHA-512 where a longer digest is required. Avoid SHA-1 for anything security-sensitive — it is shown only for legacy compatibility checks.
Can I reverse a hash back to the original text?
No. Cryptographic hashes are one-way functions. The only way to find an input for a given digest is to guess and re-hash, which is infeasible for unknown inputs of any real length.
Does this hash files?
This version hashes text you type or paste. Because it uses the standard Web Crypto API, the same SHA digests will match those produced by command-line tools like sha256sum on the identical UTF-8 bytes.
Related tools
Last updated: 2026-06-13