What it does
A hash is a short fingerprint of some data: change a single byte and the hash changes completely. Use this tool to get the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file in one go, or paste the checksum published next to a download to confirm your copy is complete and unchanged. You don’t need to know which algorithm the site used: the checksum is compared with all five results and the matching one is marked. Spaces and capital letters in the pasted checksum are ignored, so output copied from certutil or PowerShell’s Get-FileHash works as it is. MD5 is calculated by the page itself, because browsers only provide the SHA family.
How to use it
- Choose “Text” and type or paste, or choose “File” and pick the file you want to check.
- MD5, SHA-1, SHA-256, SHA-384 and SHA-512 are calculated at once, in your browser.
- To verify a download, paste the checksum from the website into “Compare with an expected hash”. It tells you which hash matches, or that none does.
Common uses
- Verifying that a downloaded installer or disk image matches the SHA-256 checksum on the official site
- Checking that a backup or a copied file is identical to the original
- Getting the hash of a string for a cache key, an ETag or a test fixture
Tips
- Use SHA-256 to verify downloads. MD5 and SHA-1 still catch accidental damage, but they can be forged on purpose.
- Never store passwords as a plain MD5 or SHA hash. Use a password hashing function such as Argon2, bcrypt or scrypt.
- Text is hashed as UTF-8, exactly as typed, so an extra space or a different line ending gives a different hash.