MD5, SHA-1, SHA-256 and SHA-512 hash generator
MD5
—SHA-1
—SHA-256
—SHA-512
—Type a text and see MD5, SHA-1, SHA-256 and SHA-512 hashes computed in real time. Useful for checksums, integrity and testing, everything runs locally.
What it is for
The hash generator computes the fingerprint of a text using the MD5, SHA-1, SHA-256 and SHA-512 algorithms. Paste the content and see the hash for each algorithm instantly.
A hash is a fixed-length sequence derived from the content. If a single character changes, the hash changes completely, which makes the value ideal for checking integrity.
When to use
- Generate a checksum to confirm a file or text was not altered.
- Create a content fingerprint to compare versions.
- Verify the integrity of a download against the published hash.
- Index or compare data by hash instead of the full content.
Hashing is one-way
- You cannot reverse a hash back to the original text, it is one-way.
- MD5 and SHA-1 are considered weak and broken for security, they should not be used to protect passwords or signatures.
- For passwords, use dedicated password hashing functions with salt, not raw MD5 or SHA.
- SHA-256 and SHA-512 remain suitable for integrity verification.
Privacy
The calculation uses the browser's own Web Crypto, so the content is not sent to servers. SHA-1, SHA-256 and SHA-512 come from native Web Crypto, and everything is processed locally.
Frequently asked questions
- Can a hash be reversed back to the text?
- No. Hashing is one-way. You cannot recover the original content from the hash, only compare it against another hash.
- Can I use MD5 or SHA-1 for passwords?
- No. MD5 and SHA-1 are considered weak and should not be used for security. For passwords, use a password hashing function with salt.
- Is the content sent to any server?
- No. The hash is computed in your browser with Web Crypto, without transmitting the text.