opyebWebhookLab

Shopify · orders

Verify Shopify webhook HMAC (X-Shopify-Hmac-Sha256)

One-line answer

Shopify base64-encodes the HMAC-SHA256 of the raw body and sends it as the X-Shopify-Hmac-Sha256 header.

The base64 encoding, not hex, is the usual trap. This page compares the decoded bytes directly and also tells you whether the body was re-serialized.

Sign & verify

e.g. GitHub webhook Secret, Stripe whsec_…, Slack Signing Secret

Generated signature header

X-Hub-Signature-256

Enter a secret and body, then press Generate signature.

Verify a received signature

Original vs re-encoded body

Any proxy or framework that re-serializes JSON breaks the signature. Compare the body you received with the one your server rebuilt.

How to verify

  1. Find the signing secret in Shopify Admin → Settings → Notifications → Webhooks.
  2. Paste the received body unchanged.
  3. Paste X-Shopify-Hmac-Sha256 into the verify field and read the base64 comparison.

Verify a signature in your browser right now.

Guides

Frequently asked questions

Why is the Shopify signature base64 and not hex?

Shopify encodes the HMAC-SHA256 digest in base64. Comparing it as hex can never match.

Is the app secret different from the store webhook secret?

Yes. Shopify apps sign with the app's client secret, while webhooks created in the Admin sign with that webhook's signing secret. Check which one you are receiving.

Can I use this with real customer payloads?

The tool never transmits the body. Still, prefer a masked sample for real orders and close the tab when you are done.

Verifier by platform

WebhookVerify GitHub webhook signatures (X-Hub-Signature-256)Compute and verify push / pull_request signatures.WebhookVerify Stripe webhook signatures (Stripe-Signature)Compute t=,v1= signatures and check the 300 s window.WebhookVerify Slack request signatures (X-Slack-Signature)Compute the v0:timestamp:body signature.WebhookVerify Toss Payments webhook signatures (v1)Compute and verify the body:time signature.