Hash Generator: MD5, SHA-1, SHA-256, SHA-384, SHA-512
Get the checksum of a file or text to check that a download is complete and unchanged.
- Works on your device. Nothing is uploaded.
- Free, no watermark
- No signup
How to use
- Type text, or open a file (any type, up to 25 MB).
- Pick one algorithm or see all five.
- Compare the hash with the one published by the source, or copy it.
Good to know
SHA-1, SHA-256, SHA-384 and SHA-512 are computed with your browser's built-in WebCrypto. MD5 is not part of WebCrypto, so we use our own implementation, tested against the official RFC 1321 test values. Text is hashed as UTF-8, so Hindi gives the same result as on Linux or Python.
To verify a download, open the file and compare the SHA-256 value with the checksum on the official website, letter by letter (case does not matter). If even one byte differs, the hash is completely different.
MD5 and SHA-1 are broken for security: attackers can create two different files with the same hash. Use them only for quick checksums. For new work use SHA-256 or stronger. A plain hash is not a safe way to store passwords; use a password-hashing function like bcrypt or Argon2 on the server.
Questions
Which hash should I use?
SHA-256 for checking downloads and most new work. MD5 only if the source publishes only MD5.
Is my file uploaded to calculate the hash?
No. The file is read and hashed in your browser.
Can I get the original text back from a hash?
No. Hashes are one-way.
Why do I get a different hash than another site?
Check for an extra space or line break at the end of the text; it changes the hash.
Uppercase or lowercase?
Both are the same value. Use the UPPERCASE switch if your source shows capitals.