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.
Hashing runs entirely in your browser. Files and text are never uploaded.
How to use this hash generator
- Pick Text or File mode.
- For text: type or paste — all five hashes update live.
- For files: drop or pick a file — hashes compute in chunks (works on huge files).
- Optional: enable HMAC mode and add a secret key for signed hashes (used by AWS, GitHub webhooks, JWT-HS256, etc.).
- 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.
Should I hash passwords with SHA-256 to store them in my database?
No. SHA is a fast general-purpose hash; password storage needs a slow, salted, memory-hard algorithm like bcrypt, scrypt or Argon2. SHA-256 is appropriate for checksums, signatures, ETags and integrity verification — not for protecting passwords against offline attack.