CloudAlls Tools
Generators tool

HMAC Generator

HMAC-SHA256, SHA384, SHA512 and SHA1 signatures from a key and message.

✦ Browser-first
Why it is useful

About this tool

Create HMAC signatures from a message and secret key using SHA-256, SHA-384, SHA-512 or SHA-1. Output in hex and Base64, computed in your browser with the Web Crypto API.

Quick guide

How to use the HMAC Generator

  1. Enter the message and your secret key.
  2. Choose HMAC-SHA256, SHA384, SHA512 or SHA1.
  3. Copy the signature as hex or Base64.

Common uses

  • Verifying webhook signatures
  • Testing API request signing
  • Learning message authentication
FAQ

HMAC Generator questions

What is HMAC?

A keyed hash that proves a message came from someone holding the secret and was not altered.

Is my key sent anywhere?

No. The signature is computed in your browser with the Web Crypto API.

Which algorithm should I choose?

HMAC-SHA256 is the common default. SHA1 is only for legacy systems.