SHA Hash Generator
Type or paste text and see its cryptographic digest in four strengths at once. Use it to generate checksums, compare whether two files match, understand how hashing works, or create deterministic IDs — all computed locally by the same browser engine your bank's web app uses.
One character changed, everything changes
Cryptographic hashes have two properties that make them useful: the same input always produces the same digest, and any tiny change — even a single space — scrambles the output completely (the avalanche effect). That's how checksums prove a download wasn't tampered with, how git identifies every version of your code, and how password databases store passwords without storing them.
SHA-1 is listed for legacy compatibility only; it has been collision-broken since 2017 and should never be chosen for new systems. SHA-256 is the modern default, and SHA-512 buys extra margin at some speed cost. The digests are computed with crypto.subtle, the browser's native implementation, so results match sha256sum on Linux byte for byte.
FAQ
- Can you reverse a hash?
- No — that one-way property is the point. Attackers instead guess inputs and compare digests, which is why weak passwords hash badly no matter the algorithm.
- Do you see my text?
- Never. Hashing happens in your browser; there is no request to any server.
- Does it hash whole files?
- This page hashes text. For file checksums, the command line (
sha256sum,certutil,shasum) is faster and equally private.