HMAC Generator

All tools

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

  1. Choose the HMAC algorithm, such as SHA-256, SHA-1, or SHA-512.
  2. Paste your message or payload into the first field.
  3. Enter the secret key.
  4. 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.

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.