Skip to content
Jellykit

HMAC Generator

Generate HMAC-SHA256, SHA512, SHA384 or SHA1 signatures from a message and secret key, in hex or Base64. Verify webhook signatures. Free, runs locally.

Runs in your browser. Nothing is uploaded.

About HMAC Generator

HMAC Generator computes a keyed hash of a message: the signature that proves a message came from someone who knows the secret and wasn't changed. It is how Stripe, GitHub, Shopify and Slack sign webhooks, and how many APIs authenticate requests.

Paste the exact raw body, enter the secret, choose the algorithm and output format the service documents, and compare the result with the signature header. The key can be given as plain text, hex or Base64.

The signature is computed with the browser's Web Crypto API, so your secret and payload stay on your device.

How to use HMAC Generator

  1. Type or paste your text into the input box. Press Sample to see an example.
  2. Adjust the options. The result updates as you type.
  3. Copy the result, or press Use as input to chain another transformation.

Frequently asked questions

Why doesn't my signature match the webhook header?

Usually the message isn't byte-for-byte identical (reformatted JSON, a trailing newline) or the service signs a timestamp plus the body. Check its docs for the exact string signed.

Is HMAC-SHA1 still safe?

HMAC-SHA1 is still considered secure for authentication, unlike plain SHA-1, but prefer HMAC-SHA256 for anything new.

Is HMAC Generator free and private?

Yes. HMAC Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all security tools →