Hash Generator

Get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 at once for text or a file, with HMAC, hex/Base64 output and checksum verification. All in your browser.

Runs in your browser

SHA digests use the browser’s Web Crypto (HTTPS only); files are hashed here, never uploaded.

Case

This is the hash of an empty string.

Result

AlgorithmDigest
Enter values to see the result.

How to use

  1. Use the Text tab and type your text, or the File tab: drop a file and press ‘Hash file’.
  2. Set Output encoding to Hex, Base64 or Base64URL, and choose lowercase or UPPERCASE hex.
  3. Add an HMAC key to make every row keyed, ticking ‘Key is hex’ if the key is hex bytes.
  4. Paste a published checksum into ‘Compare with…’ — the matching algorithm gets a ✓ Match chip.
  5. Copy the digest you need from its row; MD5 and SHA-1 are flagged as broken for security.

FAQ

Can I verify a downloaded file’s checksum here?

Yes. Drop the file, paste the published digest into "Compare with" and we mark the matching row with a green check. We accept hex or Base64, any case, and ignore the filename that sha256sum prints after the digest. The file is read locally and never uploaded.

Why is MD5 marked as broken?

MD5 and SHA-1 have practical collision attacks — two different files can be made to share a digest. They are fine as checksums against accidental corruption and for legacy compatibility, but never for signatures, passwords or integrity against an attacker. Use SHA-256 or better.

Is there a file size limit?

256 MB for now. The browser’s built-in crypto.subtle cannot hash in chunks, so the whole file has to fit in memory for the SHA algorithms. MD5 is computed incrementally and has no such limit.

Related tools

More Developer tools: Developer