Generate SHA hashes in your browser
Type or paste any text and get its SHA-1, SHA-256, SHA-384 and SHA-512 checksums at once, updating live as you type. Copy any digest with one click. Hashing uses your browser's built-in Web Crypto API, so nothing is uploaded, nothing is logged, and it works offline.
What is a hash and what is it for?
A hash function maps any input to a fixed-length digest. The same input always yields the same digest, and changing a single character changes the whole output — yet you can never run it backwards to recover the input. That makes hashes ideal for verifying integrity (does this download match the published checksum?) and for storing passwords without keeping the password itself.
Which algorithm should you use?
| Algorithm | Digest length | Use today? |
|---|---|---|
| SHA-1 | 160-bit (40 hex) | legacy only — broken since a practical collision in 2017 |
| SHA-256 | 256-bit (64 hex) | recommended default |
| SHA-384 | 384-bit (96 hex) | higher-security contexts |
| SHA-512 | 512-bit (128 hex) | higher-security contexts |
SHA-256 underpins TLS certificates, software signing, Git and Bitcoin. SHA-1 is shown for compatibility with older systems, but Google demonstrated a real SHA-1 collision ("SHAttered") in 2017, so it must not be used for security. MD5 is intentionally omitted — it's broken and the Web Crypto API doesn't provide it.
Hashing is one-way, not encryption
You cannot decode a hash back to the text — there is no "decrypt" here. Attackers can only guess candidate inputs and compare digests, which is why long, unique inputs (and salting for passwords) matter.
Private by default
Your text is hashed locally with your device's own resources; it never leaves the browser. That makes this safe for checking sensitive strings, and it keeps working without a network connection.