Hash
Make MD5, SHA-1, SHA-256 and SHA-512 hashes of text or a file, and compare with a hash you have.
What it does
A hash is a short fingerprint of a text or file. Compare it with a published hash to check a download wasn’t changed. Hashes are made on your device. Use it as an MD5 generator, a SHA-256 generator or a file checksum tool. Pick one or more algorithms, show the result in lowercase, uppercase or Base64, and add an HMAC key if you need a keyed hash.
How to use it
- 1Paste text or drop a file.
- 2Pick the algorithms.
- 3Copy a hash, or paste one to compare.
Common uses
- Check that a downloaded file matches the SHA-256 hash on the download page.
- Compare two files by their hashes.
- Make an MD5 checksum for a system that still asks for it.
- Make an HMAC of a message with a secret key to test an API signature.
- Get the SHA-1 hash of a text to compare with an old record.
Questions
Which algorithm should I use?
SHA-256. MD5 and SHA-1 are only for checking old checksums.
Is my file uploaded?
No. It is hashed in your browser.
Can I reverse a hash?
No. Hashes are one-way.
How do I check a file checksum?
Drop the file, pick the algorithm and paste the published hash under Compare with. The tool tells you whether they match.
What is the difference between MD5 and SHA-256?
MD5 makes a 128-bit hash and is broken for security use. SHA-256 makes a 256-bit hash and is still considered secure.
What is an HMAC?
A hash made with a secret key, so only someone with the key can make the same value.
Is MD5 safe for storing passwords?
No. Use a slow password hash such as bcrypt or Argon2 to store passwords.