How do you generate a hash?
A hash function takes any input and produces a fixed-length string that uniquely represents it. The same input always produces the same hash, but you cannot reverse it back to the original. This tool uses your browser\u2019s built-in Web Crypto API to generate SHA-256, SHA-1, and SHA-512 hashes instantly.
When to use each algorithm
- SHA-256 — the modern default for checksums, integrity, and most security uses.
- SHA-512 — a longer, stronger variant for higher-security needs.
- SHA-1 — legacy only; broken for security, but still seen in old systems and Git.
Verify integrity privately
Use hashes to verify a file or message has not changed, or to compare values without exposing the originals. Because everything runs in your browser via Web Crypto, your input is never transmitted anywhere.