Skip to main content
SyntixDev

Hash & HMAC Generator

Encoding & Crypto

Base64, MD5/SHA/HMAC hashes, JWT decoder, URL query parser, and HTML entities — 100% client-side.

100% client-side — files and inputs never leave your browser.

MD5
SHA-1
SHA-256
SHA-384
SHA-512
About this tool and how it works

Hashes, HMACs, and checksums

A cryptographic hash maps any input to a fixed-length fingerprint. Change one byte of the input and the fingerprint changes completely, which makes hashes ideal for verifying downloads, deduplicating files, and building cache keys. This tool computes MD5, SHA-1, SHA-256, SHA-384, and SHA-512 side by side, plus HMAC variants, for text or for files dropped into the page.

Which algorithm should I pick?

  • SHA-256: the default choice for integrity checks, release checksums, and API request signing.
  • SHA-512 / SHA-384: longer digests, often faster on 64-bit CPUs.
  • MD5 and SHA-1: broken for security (collisions can be manufactured). Use them only to match legacy checksums, never for signatures.

HMAC: hashing with a secret

An HMAC combines a secret key with the message, so only someone with the key can produce the same value. Webhook providers (Stripe, GitHub, Shopify) sign payloads this way: you recompute HMAC-SHA256(secret, raw_body) and compare it to the signature header. Always hash the raw request body — re-serialized JSON with different spacing yields a different HMAC.

Verifying a downloaded file

Drop the file, select SHA-256, and paste the checksum published by the vendor into the compare field. A match means the bytes on your disk are exactly the bytes the vendor hashed. The file is read locally and never uploaded.

Do not hash passwords with these

Plain SHA-256 is far too fast for password storage; attackers can test billions of guesses per second. Use a slow, salted algorithm such as Argon2id, bcrypt, or scrypt on the server instead.

Frequently asked questions

Why does my HMAC not match the webhook signature?

Most mismatches come from hashing a parsed-and-reserialized body, a trailing newline, the wrong encoding of the secret, or comparing hex against Base64. Hash the exact raw bytes and check which output encoding the provider uses.

Is the same text always hashed to the same value?

Yes. Hashes are deterministic: identical bytes always give an identical digest. Differences usually mean invisible characters such as a trailing space, CRLF vs LF line endings, or a byte-order mark.

Are my files uploaded to compute the checksum?

No. Files are read with the browser File API and hashed in memory using Web Crypto (and a local MD5 implementation). Nothing leaves your device.

Other tools