Hash Generator — SHA-1 / SHA-256 / SHA-384 / SHA-512
Free online hash generator — compute SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text locally in your browser using WebCrypto.
About these hash functions
Hashes are one-way fingerprints: the same input always produces the same digest, but the digest can't be reversed. SHA-256 and SHA-512 are current best practice for integrity checks; SHA-1 is provided for legacy comparison only — don't use it for anything security-sensitive. Hashing runs locally via the WebCrypto API.
Frequently asked questions
Can a hash be reversed to get the original text?
No — hashes are one-way. The only "reversal" is guessing inputs and comparing digests, which is why short or common passwords are crackable via lookup tables even though the hash itself can't be inverted.
Should I use SHA-1 or SHA-256?
SHA-256 (or SHA-512). SHA-1 is cryptographically broken for collision resistance and is included here only for comparing against legacy systems.
Why does the tiniest change produce a totally different hash?
That's the avalanche effect — a designed property of cryptographic hash functions. Changing one character flips roughly half the output bits, which is what makes hashes good integrity fingerprints.
Is my text uploaded to compute the hash?
No — hashing runs locally via your browser's WebCrypto API (crypto.subtle.digest). Nothing leaves the page.