About this hash generator
Compute a cryptographic hash digest of any text using SHA-1, SHA-256, SHA-384, or SHA-512, the algorithm families most commonly required for checksums, commit identifiers, and integrity checks. Paste or type text, choose an algorithm, and get the resulting digest as a lowercase hexadecimal string ready to compare or paste elsewhere. Hashing runs through your browser's built-in Web Crypto API, the same implementation browsers use for secure connections, so the text never leaves this page during the calculation.
How it works
The text is encoded as UTF-8 bytes and passed to the Web Crypto API's digest function for the selected algorithm. The resulting byte array is converted to a lowercase hexadecimal string, two characters per byte.
Try these examples
"The quick brown fox jumps over the lazy dog" (SHA-256)
d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
"The quick brown fox jumps over the lazy dog" (SHA-1)
2fd4e1c67a2d28fced849ee1bb76e7391b93eb12
Limitations & privacy
Maximum input: 100,000 characters. SHA-1 is no longer considered collision-resistant for adversarial security use, though it remains fine for checksums and non-adversarial comparisons. MD5 is not offered because it is not implemented by the browser's cryptographic API.
Inputs and results stay in this browser. Only tool identifiers are stored for your recently used tools. You can clear that history from the directory.
A few good questions
Which algorithm should I use?
SHA-256 is the most common general-purpose choice today. Use SHA-1 only for compatibility with older systems, and SHA-384 or SHA-512 where a longer digest is required.
Can I hash a file instead of text?
Not with this tool. It hashes the text you paste or type; hashing a file's binary contents needs a dedicated file-hashing tool.
Is hashing the same as encryption?
No. Hashing is one-way and cannot be reversed to recover the original text. Encryption is reversible with the correct key.
Updated September 19, 2026