Tools/HMAC Generator
Cryptography & Security

HMAC Generator

Sign a message with a shared secret to verify authenticity — the same construction used by webhook signatures and API request signing.

Free & unlimitedRuns in your browserNo sign-up required
Loading tool…
How it works

Three steps, no setup

1

Provide the message

Enter the payload you want to authenticate.

2

Add your secret key

This is the shared key both sides already know — it is never transmitted anywhere.

3

Read the signature

Compare the output against an incoming X-Signature header to validate a webhook.

Common questions

Frequently asked questions

What is HMAC used for?
Services like Stripe and GitHub sign webhook payloads with HMAC-SHA256 so the receiver can confirm the request really came from them and was not tampered with in transit.
Does changing one character change the signature?
Yes. HMAC is extremely sensitive to input — a single changed byte in the message produces a completely different signature.
Chat with us
Usually replies in minutes