Local-only · Web Crypto HMAC-SHA256
Webhook Secret Generator
Generate cryptographically random HMAC webhook signing secrets (Stripe whsec_, GitHub hex, Shopify Base64, or custom prefix) and compute real sha256=… signatures locally with crypto.subtle.
Webhook secret
0weak 40ok 64strong 80128+ bits
Excellent · 256 bitsCalculating…
Click a secret to copy & activate in the HMAC tester · R regeneratesStripe-Signature
Key entropy256 bitsMatches SHA-256 digest size
Random payload32 bytes49 chars total with prefix
Signature headerStripe-SignatureHMAC-SHA256 · constant-time verify
Live HMAC-SHA256 Webhook Signature Tester
Sign any raw request body with your active secret using browser Web Crypto (crypto.subtle).
Always verify HMAC over the raw request body bytes — never re-serialized JSON.
Computing…
Computing…
Computing…
Verify signatures safely in code
Constant-time HMAC-SHA256 verification examples synced to your active webhook secret.