HMAC Generator

Enter a message and secret key to get the HMAC signature instantly, using the Web Crypto API.

What HMAC proves

HMAC mixes a secret key into the hash so that anyone with the key can verify the message was not forged or altered — without exposing the key. That is why APIs verify webhook bodies with an HMAC signature header.

Frequently asked questions

Which algorithm?

SHA-256 is the common default; SHA-512 where a longer tag is wanted.

Key length?

Any length works — HMAC pads or hashes the key internally.

Is the key sent anywhere?

No — everything runs in your browser.