Calculate hashes

Free online hash calculator that runs entirely in your browser. Paste text or drop a file (up to 500 MB), pick one or several algorithms (MD5, SHA-1, SHA-256, SHA-384, SHA-512, CRC32), pick hex or base64 output, optionally set a key to compute HMAC variants instead of plain digests. Files are read in 4 MB chunks so a 500 MB file does not OOM your tab. A comparison block at the bottom takes two hash strings and tells you whether they match — useful for verifying file integrity against a published checksum.

How to use

1
Choose input mode

Text tab for typing, File tab for drag-and-drop.

2
Pick algorithms

Tick the boxes you want — they all compute in parallel.

3
Set output format

Hex for traditional display, base64 for JWT-style.

4
Compute

Click a result to copy it; use Compare to verify against a known hash.

Hash text or files in the browser — MD5, SHA-1, SHA-256, SHA-384, SHA-512, CRC32, with HMAC

Algorithms
Output
HMAC (optional)
When a key is set, all selected algorithms are computed as HMAC-… instead of plain digests.

Compare two hashes

Paste two hashes to compare

What you can do

Six algorithms
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 — pick any combination.
Text or file
Hash any text input or any file up to 500 MB, chunked so the page stays responsive.
HMAC mode
Provide a secret key — every selected algorithm is recomputed as HMAC-X.
Hex or base64 output
Switch on demand — useful for matching whatever the spec / system you target expects.
Compare two hashes
Paste two hashes to see ✓ Match or ✗ Different — useful for checksum verification.
Standard primitives
SHA-256 output matches `sha256sum` / OpenSSL byte-for-byte. HMAC-SHA256 matches AWS Signature v4, Stripe webhooks, and JWT HS256. Use any output here interchangeably with any other compliant tool.

Typical uses

  • Verify a downloaded ISO against its published SHA-256 checksum.
  • Compute a content hash for cache-busting or ETag generation.
  • Calculate a JWT-style HMAC-SHA256 for API request signing.
  • Quickly produce an MD5 for a legacy system that still asks for it.
  • Spot-check whether two large files are identical without diffing them.

Why this one

Many online hash tools fail on large files because they load the whole thing into memory at once. This one streams files in 4 MB chunks through your browser's native Web Crypto API, so even a 500 MB ISO is hashed right in a regular browser tab. HMAC and CRC32 are first-class — most online tools skip them. Output matches `sha256sum`, `md5sum`, OpenSSL and every other standard implementation, so you can use it to verify a download against any published checksum.

Common questions

Is MD5 still safe to use?

Not for security purposes — MD5 has been broken since 2004. It is still fine as a fast content-checksum (cache keys, dedup) where you do not care about adversarial collisions. For signatures, password storage or anything security-sensitive, use SHA-256 or better.

What is HMAC?

A keyed-hash construction. Plain SHA-256(message) lets anyone recompute the hash; HMAC-SHA256(key, message) requires the key to produce or verify, so it works as a message-authentication code. Common in API request signing (AWS, Stripe, etc.) and JWT HS256.

How big a file can I hash?

The cap is 500 MB to keep the page snappy on low-end devices. The hashing itself is streaming-friendly — the only memory pressure is the FileReader buffer per chunk.

How are large files handled?

The file is read in 4 MB chunks and hashed in your browser through the native Web Crypto API, so even a 4 GB ISO can be checksummed without loading it all into memory at once. The result matches `sha256sum` on Linux / `shasum -a 256` on macOS / `certutil -hashfile` on Windows.

Hex or base64 — which should I use?

Hex is the traditional representation (the kind you see on download pages). Base64 is shorter and is what JWT and many web APIs use for HMAC signatures. Pick whichever the system you are talking to expects.

Mobile?

Yes. The 500 MB cap applies, but for typical mobile workloads (a photo, a doc) hashing is sub-second.

How do you rate this tool?

Thank you for your rating!
Want to share more? Leave a comment!
Thank you! Your comment will appear after moderation.
Who is this tool for?
Published Authors: