Integration Lab JSON Tools

HMAC & Hash Generator

Create HMAC signatures and hashes in hex or Base64, and check a webhook signature from Shopify, Razorpay, GitHub and others against the one you received.

Message

Signature

SHA-256 hash
Hex
Base64

How to use the HMAC & Hash Generator

  1. Paste the message — for a webhook, the exact raw request body.
  2. Enter the secret key and choose the algorithm; leave the key empty for a plain hash.
  3. Copy the hex or Base64 result, or paste a signature you received into Compare to check it.

Questions

How do I verify a webhook signature?
Paste the raw request body as the message and the app's signing secret as the key, choose the algorithm, then paste the signature header into Compare. Shopify sends Base64 HMAC-SHA256, Razorpay sends hex HMAC-SHA256, and GitHub sends sha256= followed by hex.
Why doesn't my signature match?
The message has to be the exact body the app sent, byte for byte. Re-formatting the JSON, changing key order or trimming a line break changes the signature — so does using the API key where the webhook secret belongs.
What happens if I leave the key empty?
You get a plain hash of the message instead of an HMAC — for example the MD5 of a lowercase email address, which Mailchimp uses as a subscriber ID.
Is anything I paste sent to a server?
No. Every conversion runs in your browser, so tokens, passwords and secrets never leave your computer, and none of them are saved.