Developer · Digests & checksums

Hash Generator

MD5 through SHA-512, plus HMAC

Hash text or a file, compare against an expected checksum, and generate keyed HMAC digests.

6 algorithmsFile hashingHMACCompare
Algorithms
6
Max file
512 MB
Uploaded
0 B

Hash Generator

Runs in your browser · nothing uploaded
— SHA-256 · 0 hex characters
Text to hash
Algorithm
HMAC key
Expected checksum

01 — How to use Hash Generator

1 Type or paste your input Text is hashed as UTF-8 bytes, which is what every other tool does — so the digest matches what you would get from a command line.
2 Pick an algorithm SHA-256 is the sensible default. MD5, SHA-1 and CRC32 are offered for verifying older published checksums, and are marked as unsuitable for security.
3 Or hash a file Choose a file and it is read and hashed in this tab. Nothing is uploaded, which is the point when checking an installer or a backup archive.
4 Compare against an expected value Paste the published checksum into the compare field. A match is reported explicitly rather than leaving you to read two long hex strings side by side.

02 — Getting good results

Do not use MD5 or SHA-1 for security Both have practical collision attacks — two different files can be made to share a digest. They remain useful for verifying a download against a checksum published by the same source, and for nothing else.
A hash is not encryption Hashing is one-way by design: there is no key and nothing to reverse. Anyone claiming to "decrypt" a hash is looking it up in a table of precomputed common inputs, which is exactly why passwords need a salt.
HMAC needs a secret, not just a hash Appending a key to a message and hashing it is vulnerable to length-extension. HMAC exists because it combines the key and message correctly, and it is what you want whenever a digest has to prove authenticity rather than just integrity.

03 — Questions

No. SHA hashing uses the browser's built-in Web Crypto, and MD5 and CRC32 are implemented in the page itself. A file you choose is read locally and never leaves the tab — which is what makes it safe to check a private archive here.

04 — More about Hash Generator

61 more tools
where this came from.

Same shell, same shortcuts, same promise: nothing leaves your browser.

Browse all 62