Hash Generator
Get MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files, and verify file checksums.
0 bytes (UTF-8). Spaces and line breaks count: a trailing newline changes every hash.
Paste the checksum from the download page. Case and spaces don't matter.
MD5 and SHA-1 are fine for checksums but not for security: never use them (or any fast hash) to store passwords. Use bcrypt for passwords.
Hash Generator FAQ
How do I verify a file's SHA-256 checksum?
Open the File tab and drop the file. Paste the SHA-256 value from the download page into "Compare with expected hash". If it says Match, the file is exactly what the publisher released; No match means the download is incomplete, damaged or a different file.
How do I generate an MD5 or SHA-256 hash of text?
Type or paste the text on the Text tab. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 appear at once and update as you type. Remember that spaces and line breaks are part of the text.
Is my file uploaded to calculate the hash?
No. The file is read and hashed in your browser, in a background worker, so it never leaves your device. That is why large files take a little time instead of an upload.
Which is better, MD5, SHA-1 or SHA-256?
For checking downloads, use whatever the publisher lists, most often SHA-256. MD5 and SHA-1 still detect accidental damage but can be forged on purpose, so they are not safe for security. SHA-256 and SHA-512 are the safe choices today.
Can I use this to hash passwords?
No. MD5 and the SHA family are designed to be fast, which makes stored password hashes easy to crack. Passwords need a slow hash such as bcrypt, which you can try in the Bcrypt Hash Generator.
What is an HMAC?
An HMAC is a hash mixed with a secret key. Services such as payment gateways and webhooks sign messages this way so the receiver can tell the message came from someone who knows the key. Turn on "HMAC with a secret key" on the Text tab to compute one.