What to hash
Type some text or choose a file to see its hashes.
How to
Hash anything in three steps
- Add your input Type or paste text, or choose a file. Files up to 100 MB are read by your browser and never leave your device.
- Read the results MD5, CRC-32, SHA-1, SHA-256, SHA-384 and SHA-512 appear together. Add a secret key to get HMAC values instead.
- Compare with a published hash Paste the checksum a download page gives you. The tool tells you which algorithm it matches, or that none does.
Using hashes sensibly
- A matching SHA-256 shows that a file is the same as the one the publisher hashed, provided you got the hash from a trustworthy place.
- MD5 and SHA-1 have known collision attacks. They are fine for spotting accidental corruption, not for security.
- A hash is not encryption: it cannot be turned back into the text, but short or common inputs can be guessed.
- Do not store passwords with a plain hash. Use a slow password-hashing function made for the purpose, on your server.
FAQ
Hash generator questions
Is my text or file uploaded?
No. Hashing happens in your browser. The page makes no network request with your input and does not store it or put it in the address.
Which hash should I use?
Use SHA-256 or SHA-512 for integrity checks. MD5, SHA-1 and CRC-32 are included because many download pages still publish them, but they are not secure against deliberate tampering.
What is HMAC?
A hash mixed with a secret key, used to check that a message came from someone who knows the key. Enter a key and the SHA results become HMAC values.
Why does my hash differ from another tool?
Usually the input differs: a trailing newline, different line endings or a different text encoding changes the hash. This tool reads text as UTF-8 exactly as typed.
How big a file can I hash?
Up to 100 MB. The whole file is read into memory, so very large files are refused rather than risking a crash.
Can a hash be reversed?
Not directly. But common words and short inputs can be found by trying guesses, so a plain hash is not a safe way to protect a password.