Hash generator and checksum check
Calculate SHA-256, SHA-384, SHA-512, SHA-1 and MD5 of text or files, with or without an HMAC key, and check a download against the checksum the publisher provides. The file never leaves your computer.
What you paste never leaves your browser and is never stored
Hashes
Once the page has loaded, the tool also works without internet – try turning off Wi-Fi. The first visit needs an internet connection.
Large files are hashed in 4 MB chunks in a Web Worker, so even a multi-GB ISO can be checked without filling up memory. You can follow the progress and cancel.
MD5 and SHA-1 are no longer collision-resistant. Use them only for checksums and legacy systems – for anything new use SHA-256 or better.
How it works
- Type or paste text, or choose a file.
- Pick the algorithms you want and whether to show the result as hex or Base64. Optionally turn on HMAC and enter the key.
- Paste the expected hash from the download page into Compare – you see instantly whether it matches.
- Copy the hash, and press Clear all when you are done.
Frequently asked questions
How do I check that a download has not been altered?
Choose the file and paste the SHA-256 (or other hash) the publisher provides into Compare. Green means the file is exactly the same. Red means it has been changed or damaged – or you copied the hash for another version.
Why do I get a different hash than in the terminal?
Usually a line break: echo adds a trailing \n, which is hashed too. Here the text is hashed exactly as it is in the field. Use echo -n (or printf) in the terminal to compare.
What is HMAC?
A hash with a secret key, so only someone who knows the key can produce the same value. Used for signing webhooks and API calls, for example. The key stays in your browser.
Are MD5 and SHA-1 secure?
Not against attacks: two different files with the same MD5 or SHA-1 can be crafted. They are fine as quick checksums against accidental errors, but use SHA-256 or SHA-512 for anything security-related.
See also
Found a bug or have an idea? Send an email
More tools in DevKit
- JSON formatter and validator JSON formatter
- Base64 encoder and decoder Base64
- JWT decoder JWT decoder
- UUID and ULID generator UUID generator
- Unix timestamp converter Unix timestamp