Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC digests of text or a dropped file, all at once.
Runs 100% in your browser•Nothing is uploaded to a server•Free forever
Input
Hashing the text above.
HMAC
HMAC covers the text input only, and there is no HMAC-MD5 — crypto.subtle does not implement it.
Digests
Compare two hashes
About this hash generator
Type or paste any text to compute its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests side by side, each with its own copy button. Drop a file onto the drop zone to hash its raw bytes instead — the file is read as bytes rather than decoded as text, which is what makes the result match the checksum a publisher computed for a download. The HMAC field computes a keyed digest over the text input; note there is no HMAC-MD5 here, because crypto.subtle does not implement one. The compare box checks two checksums against each other, ignoring case and whitespace, and tells you when a length mismatch means you are comparing digests from two different algorithms.
The SHA family uses the browser's built-in SubtleCrypto implementation; MD5 has no native browser API, so this page includes a small self-contained MD5 implementation instead. MD5 and SHA-1 are considered broken for security purposes (collision attacks are practical) — they are here for checksums and legacy compatibility, not for hashing passwords or anything security-sensitive. Nothing you type or drop is uploaded; hashing happens entirely on your device.
More developer tools
- JSON Formatter
- Base64 Encode / Decode
- URL Encoder / Decoder
- Unix Timestamp Converter
- Regex Tester
- UUID Generator (v4 / v7)
- JWT Decoder
- Password Generator
- JSON ⇄ CSV Converter
- HTML Entity Encoder / Decoder
- Cron Expression Explainer
- Color Converter (HEX / RGB / HSL / HSV)
- WCAG Contrast Checker
- All tools on one page (home)