Hash Generator
Free hash generator for MD5, SHA-1, SHA-256, SHA-384 and SHA-512 with HMAC. Hash text or files, verify checksums — all privately in your browser, no upload.
- No upload — 100% private
- Instant, on your device
- Free, no sign-up
- Works offline once loaded
How it works
How to use Hash Generator
Type text, or switch to File and drop any file.
All five hashes are computed at once — choose hex, HEX or Base64 output.
Optionally enable HMAC and enter a secret key.
Paste an expected checksum into Compare to confirm the file is intact.
Why use it
Why use our Hash Generator tool
Five algorithms at once
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 side by side, updating as you type.
File checksums
Verify downloads and ISO images — MD5 streams in chunks, SHA uses the browser's native crypto.
HMAC support
Generate HMAC signatures with any secret key for webhooks and API request signing.
Checksum compare
Paste a published hash (hex or Base64) and instantly see whether it matches.
Nothing uploaded
Files are hashed locally, so even confidential documents stay on your device.
FAQ
Frequently asked questions
Which hash algorithm should I use?
Use SHA-256 or SHA-512 for anything security-related. MD5 and SHA-1 are broken for security and should only be used for non-adversarial checksums or legacy compatibility.
How do I verify a downloaded file's checksum?
Switch to File, drop the download and paste the checksum published by the vendor into the Compare field. A green match means the file is identical.
What is HMAC?
HMAC combines a hash function with a secret key to prove a message came from someone who knows the key and wasn't altered. It's widely used to sign webhooks and API requests.
Can I hash passwords with this?
You can see their hashes, but don't store passwords as plain MD5 or SHA hashes. Use a slow, salted algorithm such as bcrypt, scrypt or Argon2.
Is there a file size limit?
MD5 streams files of any size. SHA hashes need the whole file in memory, which works well up to several hundred megabytes and is skipped above 1 GB.
Related tools
Password Generator
Strong random passwords and passphrases, made on your device.
Base64 Encode & Decode
Encode or decode Base64 text, files, images and data URIs.
UUID Generator
Generate v4 and v7 UUIDs in bulk, then validate and decode.
JWT Decoder
Decode JWT header and payload, check expiry, verify HMAC.
JSON Formatter
Beautify, validate, minify and explore JSON as a tree.
URL Encode & Decode
Percent-encode, decode and edit URL query parameters.
Regex Tester
Test JavaScript regular expressions with live highlighting.
Diff Checker
Compare two texts side by side with word-level highlights.