Skip to content
Developer

Hash Generator

Hash text or files with MD5, SHA-1, SHA-256, SHA-384 and SHA-512 — including HMAC variants with a secret key. File hashing streams in chunks so even multi-GB files work without uploading.

13 characters · 13 UTF-8 bytes
HMAC mode (signed hash)

SHA-1, SHA-256, SHA-384 and SHA-512 use the browser's built-in crypto.subtle. MD5 is computed in pure JS. MD5 and SHA-1 are not safe for security — use SHA-256 or stronger for password hashing, signatures or integrity in adversarial settings.

Hashing runs entirely in your browser. Files and text are never uploaded.

How to use this hash generator

  1. Pick Text or File mode.
  2. For text: type or paste — all five hashes update live.
  3. For files: drop or pick a file — hashes compute in chunks (works on huge files).
  4. Optional: enable HMAC mode and add a secret key for signed hashes (used by AWS, GitHub webhooks, JWT-HS256, etc.).
  5. Paste an expected hash in the Compare box to verify a checksum match.

Frequently asked questions

Which algorithms are supported?

MD5, SHA-1, SHA-256, SHA-384 and SHA-512. The SHA family runs on your browser's built-in Web Crypto API; MD5 is implemented in pure JavaScript.

Should I use MD5 or SHA-1?

Only for non-security checksums (file deduplication, ETags, CRC-style integrity). Both are cryptographically broken — for password hashing, signatures or anti-tampering, use SHA-256 or stronger.

How big can the file be?

MD5 streams in 1MB chunks and works on files of any size your device can read. SHA reads the whole file once (browsers don't expose incremental SHA), so several GB is the practical limit.

Is the file uploaded?

No. Files are read by your browser only — nothing leaves your device.