Free · runs in your browser · no upload · no quota
Hash Generator
Type text or drop a file to get its MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 hashes at once. Paste a published checksum to check a download, or add a key to make an HMAC. Files are hashed on your device and never uploaded.
Good to know
Text is hashed as UTF-8.
The same text in another encoding, or with Windows line endings (CRLF) instead of LF, gives a different hash. A trailing line break counts too: echo "hello" hashes hello plus a newline.
Uppercase or lowercase does not matter.
Hex hashes are case-insensitive; the compare box matches either. Some tools print uppercase, most print lowercase.
Pasting a whole checksum line works.
Lines like SHA256: 9f86d0… or 9f86d0… file.iso are understood: the label and the file name are ignored when comparing.
Up to 1 GB.
Larger files need more memory than a browser tab is given. For a 4 GB disk image, use sha256sum on Linux, shasum -a 256 on a Mac or certutil -hashfile file SHA256 on Windows.
How to Get the MD5, SHA-256 or Checksum of a File
- Add text or a file
Type or paste text, or drop a file onto the box (or click Open file). Files up to 1 GB are read on your device. - Copy the hash you need
All six hashes appear at once; click one to copy it. Tick Uppercase letters if your system expects them. - Check a download
Paste the checksum published on the download page into Compare with a published checksum. A green match means the file arrived intact and unchanged.
Example
hello world
MD5 5eb63bbbe01eeed093cb22bb8f5acdc3 SHA-1 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed SHA-256 b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
Frequently Asked Questions
-
How do I check the checksum of a downloaded file?Drop the file here, then paste the checksum from the download page (often labelled SHA-256 or MD5) into the compare box. If it matches one of the hashes, the file is exactly what the publisher released; if not, download it again, because it is damaged or not the original.
-
Which hash should I use?SHA-256 for anything new: it is the common standard for checksums, signatures and APIs. SHA-512 is just as safe. MD5 and SHA-1 are broken for security purposes, since collisions can be made on purpose, but are still fine for spotting accidental damage and are what many older sites publish. CRC32 is a quick checksum used in ZIP files and networking, not a security hash.
-
What is HMAC?A hash mixed with a secret key, used to sign API requests and webhooks (Stripe, Paddle, GitHub and many others send an HMAC-SHA256 header). Enter the key in HMAC key and the text to sign, and compare the result with the signature you received.
-
Can a hash be reversed to get the text back?No. A hash is one-way: the only way to find the input is to guess it and hash the guess. That is why short or common passwords hashed with plain MD5 or SHA-1 are easy to crack, and why password storage uses slow hashes such as bcrypt or Argon2 instead.
-
Is my file uploaded?No. The file is read and hashed by your browser, so it works for private files and large downloads without sending a single byte.