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. Files are read by your browser and never uploaded, which matters when you’re checking installers, backups or private documents.
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”. 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.