Hash Generator
Generate cryptographic hashes from any text. Enter a string and instantly get its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests, all computed locally in your browser.
—————About the Hash Generator
A hash function maps any input to a fixed-length fingerprint. The same input always yields the same hash, but the process is one-way — you cannot recover the original text from the digest. Hashes are used for checksums, deduplication, integrity verification, and (with proper salting) password storage.
Different algorithms suit different jobs: MD5 and SHA-1 are fast but cryptographically broken and should only be used for non-security checksums, while SHA-256 and SHA-512 remain secure for integrity and signing. Computing them locally means the text you hash — which may be sensitive — never leaves your device.
Hashing is easy to confuse with encoding and encryption, but the three do different jobs. Encoding (like Base64) is reversible and adds no security — it just makes data safe to transport as text. Encryption is reversible with the right key and exists to keep data confidential. Hashing is deliberately one-way: no key turns a digest back into the original input, which is exactly why it verifies integrity (does this file match what I expect?) rather than hiding content.
A small change to the input — even one character — produces a completely different digest, a property called the avalanche effect, and it's what makes hashes useful as fingerprints. It's why every git commit is identified by a SHA hash of its contents, why package managers like npm and pip publish checksums alongside releases so a download can be verified against tampering or corruption, and part of why SHA-256 became a de facto standard after NIST published it as part of the SHA-2 family.
How to use it
- 1Type or paste the text you want to hash.
- 2Read the generated digests for each algorithm.
- 3Copy the hash you need with a single click.
Features
- MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once
- Uppercase / lowercase hex output
- Built on the Web Crypto API for standards-correct results
- One-click copy of any digest
Frequently asked questions
Which hash algorithms are supported?
MD5, SHA-1, SHA-256, SHA-384 and SHA-512. SHA family hashes use the browser Web Crypto API; MD5 uses a small JavaScript implementation.
Can a hash be reversed?
No. Hash functions are one-way. You cannot derive the input from the hash, though weak inputs can sometimes be guessed via lookup tables.
Should I use MD5 for passwords?
No. MD5 and SHA-1 are considered broken for security. Use a dedicated password hashing function like bcrypt or Argon2 for credentials.
Is my input uploaded?
No. All hashing happens in your browser; the text you enter is never sent to a server.
Is hashing the same as encryption?
No. Encryption is reversible with a key and protects confidentiality; hashing is intentionally one-way and verifies integrity instead of hiding data.
Why does a tiny change to the input produce a totally different hash?
That's the avalanche effect, by design — changing even one byte of input should completely change the output digest, so a hash can reliably detect any modification, however small.
What is a checksum, and is it different from a hash?
A checksum is a hash used specifically to verify data wasn't corrupted or altered — for example, comparing the SHA-256 a vendor publishes against the hash of the file you downloaded. It's an application of hashing, not a different algorithm.