HMAC generator
Sign a message with a secret key using HMAC-SHA-1, SHA-256, SHA-384 or SHA-512.
In your browser
Signature
About this tool
Sign a message with a secret key, for example to test webhook signatures from Stripe, GitHub or Shopify. Your key never leaves your browser.
How to use it
- 1 Enter the message and the secret key.
- 2 Choose the algorithm and output format.
- 3 Copy the signature.
Questions
Why doesn’t my webhook signature match?
Check that you signed the exact raw request body, byte for byte, and that the output format (hex or Base64) matches what the service sends.
Is my data uploaded?
No. This tool runs in your browser, so your text and files never reach our server.
Is this tool free?
Yes. It’s free to use with no sign-up and no limits for normal use.
More in Encoding & hashing
- JWT decoder Decode a JSON Web Token to read its header, payload and expiry. The token never leaves your browser.
- Base64 encoder Encode text to Base64.
- Base64 decoder Decode Base64 back to text.
- Image to Base64 Encode an image as a Base64 data URI for CSS or HTML.
- Base64 to image Decode a Base64 string or data URI back into an image file.
- URL encoder Percent-encode text so it is safe to put in a URL.