Hash Generator
Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file, and check a download against its published checksum.
- Runs on your device
- No sign-up
- Free, no watermark
How to use the Hash Generator
- 01Type or paste text, or choose a file (you can also drop one on the page).
- 02The MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes appear on the right.
- 03Choose Hex or Base64, and Uppercase if you need it.
- 04To verify a download, paste its published checksum into Compare with.
- 05Turn on HMAC and enter a key to get HMAC-SHA-256, HMAC-SHA-384 and HMAC-SHA-512 instead.
Good to know
Files stay on your device
Files are read by your browser and never uploaded, so it's safe for private documents.
Checksum compare
Paste an expected hash in hex or Base64 and the matching algorithm is highlighted.
Hex or Base64
Show hashes as lowercase or uppercase hex, or as Base64. HMAC with SHA-256, 384 or 512 is built in.
Large files
MD5 reads files in 4 MB pieces. SHA needs the whole file in memory, so files over 2 GB get MD5 only.
Frequently asked questions
Is my file uploaded?
No. Text and files are hashed in your browser with Web Crypto, plus a built-in MD5 implementation. Nothing leaves your device.
How is text hashed?
As UTF-8 bytes, exactly as typed, including spaces and line breaks. A trailing newline changes the hash, so check for one if a result doesn't match.
Which hash should I use?
Use SHA-256 or stronger for anything security-related. MD5 and SHA-1 are broken for security purposes, but still fine for spotting accidental corruption when a site only publishes those.
Is there a file size limit?
MD5 works on files of any size because it reads them in pieces. SHA and HMAC need the whole file in memory, so they're skipped for files over 2 GB, and very large files may be slow on phones.
What is an HMAC?
A hash that mixes in a secret key. Only someone with the same key can produce the same value, so it's used to sign API requests and webhooks.