About the Hash Generator
The Hash Generator runs entirely in your browser — your code and data never leave your machine. Paste, click, copy the result.
A cryptographic hash turns any text into a fixed-length fingerprint: same input always gives the same output, a one-way function (you cannot reverse it), and any tiny change to the input produces a completely different hash. This tool generates SHA-1, SHA-256, SHA-384 and SHA-512 using your browser's native Web Crypto API.
How to use this tool
- Paste the text to hash.
- Press Generate hashes.
- Copy one algorithm's value or grab all four at once.
Which algorithm should I use?
| Algorithm | Output | Use today? |
|---|---|---|
| SHA-1 | 160-bit | ⚠️ Broken for security — legacy only |
| SHA-256 | 256-bit | ✅ Standard default (TLS, git, Bitcoin) |
| SHA-384 | 384-bit | ✅ High-security systems |
| SHA-512 | 512-bit | ✅ Large data, fast on 64-bit CPUs |
What hashes are used for
- Integrity checks: verify a downloaded file matches the publisher's checksum.
- Passwords: store hashes (with salt + bcrypt/argon2 — plain SHA-256 is too fast for passwords).
- Content addressing: git identifies objects by hash; blockchain transactions are hashed.
- Deduplication: identical content = identical hash.
Note: hashing is not encryption. It is designed to be irreversible — that's a feature.
Who is this tool for?
Developers verifying checksums, students learning cryptography, and anyone confirming file integrity after a download.
Developer tip
For password storage never use bare SHA-256 — GPUs compute billions per second. Use bcrypt, scrypt or argon2 with a unique salt.