Hash Generator
Generate cryptographic hashes (SHA-1, SHA-256, SHA-512) from text.
Runs in your browser All processing happens locally. Your data never leaves this device.
MD5 is intentionally omitted (broken; not supported by the Web Crypto API).
Overview
A cryptographic hash maps input of any length to a fixed-size value (the digest). The same input always produces the same digest, and a tiny change to the input produces a completely different digest. This tool computes SHA-1, SHA-256, SHA-384, and SHA-512 digests of the text you enter, live, without sending anything anywhere.
How to use
- Type or paste your text.
- All four digests update automatically, shown as hexadecimal.
- Copy the digest you need.
Notes
- SHA-1 is deprecated for security use (collision attacks are practical). Prefer SHA-256 or SHA-512.
- Hashing is not encryption. It provides integrity, not confidentiality.
- For passwords, never store a bare hash — use a salted, slow KDF such as bcrypt, scrypt, or Argon2.
FAQ
- Is my input sent to a server?
- No. Hashing uses the browser's built-in Web Crypto API (crypto.subtle.digest). Your text is never uploaded.
- Why isn't MD5 available?
- MD5 is cryptographically broken and is not implemented by the Web Crypto API. For integrity or security use SHA-256 or stronger. We deliberately do not offer MD5 for security-sensitive use.
- Can I reverse a hash back to the original text?
- No. Cryptographic hashes are one-way functions. The only way to "reverse" one is to guess inputs and hash them until one matches, which is infeasible for strong hashes and unpredictable inputs.
- What is a hash used for?
- Hashes verify data integrity (checksums), index content, and underpin digital signatures and password storage (with salting and a slow KDF). A hash is not encryption — it cannot be decrypted.