Skip to content
FizzKit

HMAC Generator & Verifier

Compute HMAC signatures over text or file bytes with a shared secret given as UTF-8, base64 or hex. Presets reproduce real webhook schemes — Stripe (`t=…,v1=…` over `timestamp.payload`), GitHub (`sha256=`), Shopify (base64), Slack (`v0:ts:body`) and Twilio (URL + sorted params, HMAC-SHA1) — and a template field builds any timestamp+payload signed string. Paste a received signature to verify it with a constant-time comparison. Hex, base64 and base64url outputs are shown together; empty messages are allowed.

Runs locally in your browser
Message (raw body — empty is allowed)
0 chars · 1 line
HMAC-SHA-256 signature
HexEnter a secret to sign
Base64Enter a secret to sign
Base64urlEnter a secret to sign
Secret
—
Message
0 B
Algorithm
HMAC-SHA-256
Digest
—

How to use HMAC Generator & Verifier

  1. 1Pick a preset (or Custom) and the hash algorithm.
  2. 2Enter the shared secret and choose how it is encoded (UTF-8, Base64 or hex).
  3. 3Paste the raw message body — or upload a file — and set the timestamp if the preset needs one.
  4. 4Copy the hex/base64/header value, or paste a received signature to verify it.

About HMAC Generator & Verifier

Compute HMAC signatures over text or file bytes with a shared secret given as UTF-8, base64 or hex. Presets reproduce real webhook schemes — Stripe (`t=…,v1=…` over `timestamp.payload`), GitHub (`sha256=`), Shopify (base64), Slack (`v0:ts:body`) and Twilio (URL + sorted params, HMAC-SHA1) — and a template field builds any timestamp+payload signed string. Paste a received signature to verify it with a constant-time comparison. Hex, base64 and base64url outputs are shown together; empty messages are allowed.

HMAC Generator & Verifier is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

Verifying both the integrity and authenticity of a message. If you share a secret with the sender, an HMAC proves the message came from them and was not tampered with — which is why webhooks from Stripe, GitHub, Shopify and Slack are signed this way.