A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the Webhook Tester page

ツール / Build suite

Webhook Tester

Build webhook payloads, sign them with HMAC, and get the exact curl command to fire them

Compose the JSON, sign it like the real provider would, and copy the curl that fires it. Webhook integrations stop needing a staging deploy to test.

Open the tool
Screenshot of the Webhook Tester tool

What it does

What it does.

Payload composer

Write or paste the JSON body with live validation. A message under the box says Valid JSON or names the error.

HMAC signing

Generate the X-Signature header the way Stripe, GitHub and Shopify do: HMAC-SHA256 of the raw body with your secret, computed locally.

Exact curl export

One tap copies the full curl command - headers, signature and body - ready for a terminal.

Header presets

Four presets (GitHub, Stripe, Shopify and a generic one) set the signature header name and format. No other headers are added.

Four signature presets

GitHub, Stripe, Shopify and a generic header, each signing the payload the way that receiver expects.

Real HMAC, in the page

Signing runs on the browser's crypto with your secret. The signature is genuine, so the receiver's verification passes.

The exact curl command

Every flag, header and the payload body export as one curl line you can paste into a terminal or a CI job.

Send from the browser too

Fire the request straight from the page when the endpoint allows it, and read the response status in place.

Payload composer

Write the JSON body with the event type and data your endpoint expects, validated before anything sends.

The secret stays local

Your signing secret is typed into the page and used by local crypto. It is never sent anywhere but into the signature math.

Header presets that match

The signature header name follows the preset: X-Hub-Signature-256, Stripe-Signature, X-Shopify-Hmac-Sha256 or a generic X-Signature.

Built for debugging handlers

Point the payload at your local server or staging endpoint and reproduce the exact request your handler must survive.

How it works

How to use it.

Step 1

Pick a signature preset.

Step 2

Write the JSON payload and set the signing secret.

Step 3

Copy the curl and fire it at your local or staging endpoint.

Step 4

Pick a signature preset, or the generic one for a plain X-Signature header.

Step 5

Compose the JSON payload your endpoint expects.

Step 6

Type the signing secret; it stays in the page.

Step 7

Sign and build the curl, or send from the browser, then watch your handler respond.

FAQ

Is my secret uploaded?

No. Signing happens in your browser with the Web Crypto API. The secret never leaves the tab.

Which algorithms?

HMAC-SHA256 only. The output is hex for GitHub and the generic header (GitHub adds a sha256= prefix), base64 for Shopify, and a t= and v1= pair for Stripe.

Can it fire the request for me?

Yes, with the Send from browser button, when the endpoint allows cross-origin requests. If the browser blocks it, the page says delivery is unconfirmed and the copied curl command is the sure way.

Does it receive webhooks?

No. It composes, signs and fires outgoing test requests at your endpoint. For receiving, point a real provider at your URL.

Is the signature real?

Yes. HMAC-SHA256 computed by the browser's crypto over the exact payload bytes, formatted per preset. A correctly configured receiver verifies it.

Where does my secret go?

Into the local signature math and nowhere else. It is not sent to any server, logged or stored.

Why does the curl command matter?

It reproduces the request exactly: same headers, same body, same signature scheme. Paste it into a terminal and your handler sees the identical request.

What if the browser send fails?

Cross-origin rules can block browser sends to some endpoints, and the page then says delivery is unconfirmed. Check your receiver before resending. The curl export has no such limit.

Can I test without a secret?

The tool always signs with the value in the secret field. For an unsigned test, delete the signature header line from the copied curl command.

Which providers are preset?

GitHub (X-Hub-Signature-256), Stripe (Stripe-Signature), Shopify (X-Shopify-Hmac-Sha256) and a generic X-Signature for everything else.

Can I replay the same event twice?

Yes. The payload and preset stay in the page; fire the curl as many times as the handler needs.

Does it validate my JSON?

The payload is checked before signing, so a malformed body fails here instead of at your endpoint.

Open Webhook Tester

Worked example

Real output, from the tool itself.

This is what Webhook Tester returned for its built-in example input, captured from the tool itself.

You enter

Preset

github

Input

{"event":"user.created","data":{"id":"u_123","email":"new@customer.com"}}

Input

whsec_test_123

Input

https://localhost:3000/webhooks/provider

The tool returns

curl -X POST 'https://localhost:3000/webhooks/provider' \
  -H 'Content-Type: application/json' \
  -H 'X-Hub-Signature-256: sha256=d2a7a1778ccddd6311aa21be3f1cb4bb29f1772b80bfdac1d57832f6e0e68734' \
  --data-binary '{"event":"user.created","data":{"id":"u_123","email":"new@customer.com"}}'
Try it with your own input

More in the Build suite

Font Pairing LabPricing Page BuilderLanding Page MakerStatus Page StarterDockerfile Builder
A wooden desk with glasses, a coffee cup, a plant and the edge of a laptop, banner image on the Webhook Tester page

Try it now.

Webhook Tester runs in your browser. No account needed.

Authored Tiles

What is on the page

Preset menu with fourprovidersPayload box with a JSONcheckSecret and endpoint boxesSign, Send and Copybuttons
Preset menu with four providersPayload box with a JSON checkSecret and endpoint boxesSign, Send and Copy buttons
Two panels: build on the left, read the result on the right.

Pipeline

How a request is signed

Check the payloadis valid JSONRead the secretand the presetCompute thesignatureShow the headerand its first 40charactersBuild the curlcommand
Check the payload is valid JSONRead the secret and the presetCompute the signatureShow the header and its first 40charactersBuild the curl command
Every preset uses the same HMAC with SHA-256.

Bar Compare

Length of the signature value

Stripe-style80 charactersGitHub-style71 charactersGeneric64 charactersShopify-style44 characters
Stripe-style80 charactersGitHub-style71 charactersGeneric64 charactersShopify-style44 characters
Characters in the value each preset puts in its header.

Bar Compare

Length of the header name

X-Shopify-Hmac-Sha25621 charactersX-Hub-Signature-25619 charactersStripe-Signature16 charactersX-Signature11 characters
X-Shopify-Hmac-Sha25621 charactersX-Hub-Signature-25619 charactersStripe-Signature16 charactersX-Signature11 characters
Each preset uses its own header.

Before After

Header and format by preset

PresetHeader: valueGitHubStripeShopifyGenericX-Hub-Signature-256: sha256=then hexStripe-Signature: t=time,v1=then hexX-Shopify-Hmac-Sha256:base64X-Signature: hex
Preset to Header: valueGitHubX-Hub-Signature-256: sha256= thenhexStripeStripe-Signature: t=time,v1= thenhexShopifyX-Shopify-Hmac-Sha256: base64GenericX-Signature: hex
Pick a preset and the header and the format change.

Support Matrix

How the presets differ

Signs thebody onlySigns the timeand the bodyHex outputBase64outputText beforethe signatureGitHubStripeShopifyGeneric
GitHubSigns the body onlyHex outputText before the signatureStripeSigns the time and the bodyHex outputText before the signatureShopifySigns the body onlyBase64 outputGenericSigns the body onlyHex output
A large white dot marks what each preset does; a small dim dot marks absence.

Pipeline

The Stripe-style value

Take the time inwhole secondsJoin time, a dotand the bodySign the joinedtextWritet=time,v1=signature
Take the time in whole secondsJoin time, a dot and the bodySign the joined textWrite t=time,v1=signature
This preset adds a time to what is signed.

Before After

What Send from browser can report

What happensWhat you seeThe endpoint allows CORS andanswersThe endpoint refuses theCORS preflightThe request arrived but thereply was blockedThe payload is not validJSONDelivered, with the HTTPstatus and the start of thereplyDelivery unconfirmed,nothing was sentDelivery unconfirmed, it mayhave been processedNothing is built or sent
What happens to What you seeThe endpoint allows CORS and answersDelivered, with the HTTP status andthe start of the replyThe endpoint refuses the CORSpreflightDelivery unconfirmed, nothing wassentThe request arrived but the replywas blockedDelivery unconfirmed, it may havebeen processedThe payload is not valid JSONNothing is built or sent
Four cases, four messages.

Before After

Quoting in the curl command

PartIn the curl commandEndpoint addressBody containing a singlequoteBody bytesCommand layoutWrapped in single quotesThe quote is escaped so theshell keeps itSent as typed with--data-binaryOne part per line, joinedwith backslashes
Part to In the curl commandEndpoint addressWrapped in single quotesBody containing a single quoteThe quote is escaped so the shellkeeps itBody bytesSent as typed with --data-binaryCommand layoutOne part per line, joined withbackslashes
The command is safe to paste into a shell.

Input To Output

Four inputs, three results

PresetPayloadSecretEndpointSignatureheadercurl commandDeliverystatusSignerInOut
InPresetPayloadSecretEndpointSignerSignature headercurl commandDelivery statusOut
The same boxes feed every button.

Before After

The starting sample

BoxStarts asPresetPayloadSecretEndpointGitHuba user.created event with anid and an emailwhsec_test_123https://localhost:3000/webhooks/provider
Box to Starts asPresetGitHubPayloada user.created event with an id andan emailSecretwhsec_test_123Endpointhttps://localhost:3000/webhooks/provider
The page opens filled in, so you can sign at once.

Bar Compare

Characters in the starting boxes

Payload73 charactersEndpoint40 charactersSecret14 characters
Payload73 charactersEndpoint40 charactersSecret14 characters
The sample payload is the longest of the three.

Pipeline

Send from browser

Check the payloadis valid JSONSign it againPost it to theendpointShow the resultunder the buttons
Check the payload is valid JSONSign it againPost it to the endpointShow the result under the buttons
The page signs again and posts the payload from your browser.

Pipeline

Copy the command

Press Sign andbuild curlRead the commandPress Copy curlPaste it into aterminal
Press Sign and build curlRead the commandPress Copy curlPaste it into a terminal
The command box is plain text you can copy.

Authored Tiles

What stays on your side

The secret box says itstays localSigning uses the browser,not a serverNothing is posted untilyou press Send frombrowserThe page opens alreadysigned
The secret box says it stays localSigning uses the browser, not a serverNothing is posted until you press Sendfrom browserThe page opens already signed
The signing is done by the browser.

Pipeline

The JSON check

Parse the payloadValid: show ValidJSONNot valid: showthe parse error inredSkip signing andsending
Parse the payloadValid: show Valid JSONNot valid: show the parse error inredSkip signing and sending
A bad payload stops everything.

Pipeline

Parts of the curl command

curl -X POST withthe endpointContent-Type JSONheaderSignature headerBody with--data-binary
curl -X POST with the endpointContent-Type JSON headerSignature headerBody with --data-binary
The command has four lines.

Before After

What each button does

ButtonWhat it doesSign and build curlSend from browserCopy curlBuilds the signature and thecommand, nothing is sentSigns and posts the payloadfrom your browserPuts the command on theclipboard
Button to What it doesSign and build curlBuilds the signature and thecommand, nothing is sentSend from browserSigns and posts the payload fromyour browserCopy curlPuts the command on the clipboard
Only one of the three sends anything.