HMAC Generator
Generate HMAC signatures from message and secret with support for SHA-256, SHA-1, SHA-512, Base64 secret input, and HEX/Base64 output.
Options
HEX output
Base64 output
What is an HMAC generator?
An HMAC generator creates a keyed hash-based message authentication code from a message and a secret key.
It is useful for API authentication, webhook signature verification, request signing, and debugging integrations that require HMAC values.
How to use the HMAC Generator
- Choose the HMAC algorithm, such as SHA-256, SHA-1, or SHA-512.
- Paste your message or payload into the first field.
- Enter the secret key.
- Click Generate to get HMAC output in HEX and Base64.
Tips
- Make sure the secret format matches your integration. Some systems use plain text secrets, while others use Base64.
- HEX output is common in documentation and debugging tools.
- Base64 output is useful when APIs expect encoded signatures.
- Everything runs locally in your browser.
Related tools
You may also find these tools useful.
Hash Generator
Generate MD5, SHA-1, or SHA-256 hashes online.
Encoding & Security
›
JWT Encoder (HS256)
Generate signed JWT tokens using HS256 (HMAC SHA-256) directly in your browser.
Encoding & Security
›
JWT Decoder
Decode JWT header and payload instantly in your browser.
Encoding & Security
›
Password Generator
Generate strong random passwords instantly in your browser.
Encoding & Security
›
HMAC Generator FAQ
Is my secret sent to the server?
No. Everything runs locally in your browser.
What algorithms are supported?
This tool supports HMAC-SHA-256, HMAC-SHA-1, and HMAC-SHA-512.
Can I use a Base64 secret?
Yes. Enable the option that tells the tool your secret is Base64-encoded.