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 browserNothing is uploaded to a serverFree forever

Input

Drop a file here to hash its bytes

Hashing the text above.

HMAC

HMAC covers the text input only, and there is no HMAC-MD5 — crypto.subtle does not implement it.

Digests

MD5
SHA-1
SHA-256
SHA-384
SHA-512
HMAC
Copied!

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