Developer
Hash Generator
Generate SHA-256, SHA-1, SHA-384, and SHA-512 hashes of any text, live in your browser.
About this tool
A hash function turns any input into a fixed-length string of characters that uniquely fingerprints the data. This tool computes SHA-256, SHA-1, SHA-384, and SHA-512 hashes of your text live as you type, using your browser's Web Crypto API. The same input always produces the same hash, and even a one-character change produces a completely different result.
Common uses for hashes
- Integrity checks - verify a file or message hasn't been altered by comparing hashes.
- Checksums - confirm a download matches the publisher's published SHA-256.
- Deduplication & caching - use a hash as a stable key for identical content.
- Signatures & tokens - hashing is a building block of digital signatures and HMACs.
Which algorithm should I use?
SHA-256 is the modern default - fast, widely supported, and considered secure. SHA-384 and SHA-512 produce longer digests for higher security margins. SHA-1 is included for compatibility with legacy systems but is no longer considered safe against deliberate collisions, so avoid it for new security work. Note that a hash is one-way: you cannot reverse it back to the original text.
Your text is hashed entirely in your browser via crypto.subtle.digest and is never uploaded.
Frequently asked questions
What is a hash?
A hash is a fixed-length fingerprint of some data. The same input always gives the same hash, and any change to the input produces a completely different hash.
Which hash algorithms are supported?
SHA-256, SHA-1, SHA-384, and SHA-512 - all computed with your browser's Web Crypto API.
Can I reverse a hash to get the original text?
No. Hashing is one-way by design. You can only verify a guess by hashing it and comparing, not recover the input from the hash.
Why is MD5 not included?
The Web Crypto API does not provide MD5 because it is cryptographically broken. SHA-256 is the recommended modern choice for new work.
Is my text sent to a server?
No. Hashing happens entirely in your browser, so your input never leaves your device.
Related tools
JSON Formatter & Validator
Beautify, validate, or minify JSON instantly in your browser. Spot syntax errors fast.
Developer
Base64 Encode & Decode
Encode text to Base64 or decode Base64 to text, with full Unicode support. Runs in your browser.
Developer
URL Encoder & Decoder
Percent-encode text for safe use in URLs, or decode encoded links back to readable text.
Developer
UUID Generator
Generate random version 4 UUIDs one at a time or in bulk, using secure browser randomness.
Developer
