How to use this developer tool
- Paste the message to sign.
- Enter the secret key.
- Choose the HMAC algorithm.
- Select hex or base64 output.
- Copy the generated signature for testing.
HMAC Generator signs a message with a secret key using common HMAC algorithms. It is useful for API authentication tests, webhook signature examples, request signing, and reproducible message authentication workflows.
This tool creates a keyed message authentication code from a message and secret key using the selected SHA family hash.
Keep real production secrets private. Use this browser-side tool for local testing and reproducible examples.
Message GET /api/orders plus a secret key returns a deterministic HMAC signature for the selected algorithm.
Enter the message, secret key, choose HMAC-SHA256, and generate the signature.
Build the exact message string required by the API and sign it with the shared secret.
Choose Base64 as the output format before generating the HMAC.
A hash uses only the message, while HMAC uses a secret key plus the message.
Paste the webhook payload and signing secret, then compare the generated signature with the webhook header.
| Algorithms | SHA1, SHA256, SHA384, SHA512 |
|---|---|
| Output | Hex or Base64 |
| Inputs | Message and secret key |
| Use case | API signatures |