HMAC Generator
Encoders & Ciphers
100% in-browser
Compute an HMAC from a message and secret key using SHA-1/256/384/512.
How to use the HMAC Generator
- 1 Enter your message and your secret key.
- 2 Pick the hash algorithm.
- 3 The HMAC is computed live — copy the hex result.
About the HMAC Generator
An HMAC (hash-based message authentication code) combines a secret key with a hash function to verify both the integrity and authenticity of a message. It is widely used to sign API requests and webhooks.
This tool computes HMACs with the browser’s native Web Crypto API, so your key and message never leave your device.
Frequently asked questions
Which algorithms are supported?
HMAC with SHA-1, SHA-256, SHA-384 and SHA-512.
Is my secret key sent anywhere?
No — the HMAC is computed locally using Web Crypto.