Hash Generator: MD5, SHA-1, SHA-256, SHA-384 and SHA-512
Get MD5, SHA-1, SHA-2, SHA-3 and CRC32 of any text or file at once, plus HMAC with your own key. Nothing leaves your browser.
Loading tool…
How to use the Hash Generator
- Choose Text or File.
- Type your text or pick a file (up to 512 MB).
- Optionally enter an HMAC secret key, and choose hex or Base64 output.
- Copy the hash you need, or paste an expected hash in the compare box to check for a match.
About this tool
A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and a tiny change gives a completely different one. That makes hashes useful for checking that a download is intact, comparing files, and generating cache keys. This tool shows MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, SHA3-512 and CRC32 together.
SHA-1, SHA-256, SHA-384 and SHA-512 come from the browser's crypto API; MD5, SHA-224, SHA-3 and CRC32 are written by hand and checked against reference implementations. MD5 and SHA-1 are marked not secure because collisions can be created: use them only for checksums and compatibility. CRC32 detects accidental errors and is not a security hash. HMAC combines a hash with a secret key to prove a message came from someone who knows the key (RFC 2104); enter a key and HMAC values appear for every algorithm except CRC32.
The compare box accepts a hex or Base64 hash and tells you which algorithm it matches, which is the quick way to verify a download. A plain hash, even SHA-256, is not suitable for storing passwords: use bcrypt, scrypt or Argon2 on your server, which this tool does not offer. RIPEMD is also not included. The whole file is read into memory, so very large files are refused. Text is hashed as UTF-8.
Frequently asked questions
Which hash should I use?
SHA-256 for most purposes. MD5 and SHA-1 only when an old system requires them.
What is HMAC?
A hash mixed with a secret key, used to sign messages and API requests. Enter a key to get HMAC values.
How do I check a downloaded file?
Choose File, pick it, then paste the hash published by the vendor into the compare box.
Can a hash be reversed?
No, but short or common inputs can be guessed. That is why plain hashes are unsuitable for passwords.
Why does my hash differ from another tool?
Check for hidden differences such as a trailing newline, different line endings or a different text encoding.
Need a custom tool or website?
IDM Valley builds web apps, calculators, AI chatbots and automation for businesses. Fixed prices, code in your name.









