HMAC Generator
Hash a message with a secret key using HMAC to verify authenticity and integrity. Supports MD5, SHA-1, SHA-256 and SHA-512 variants, plus optional hex/Base64 output. Runs entirely on your device.
Enter a message and a secret key, then pick an algorithm and output encoding. The HMAC uses the key to keyed-hash the message — the same construction as most API signatures.
Inputs
HMAC-SHA256 (hex)
e31f46f839354f0175e2eb93d944f839819ece337d6884efd04596acfc4649f2Frequently asked questions
What is HMAC used for?
HMAC verifies both the integrity and the authenticity of a message when both parties share a secret key — e.g. webhook signatures and API authentication.
Is HMAC different from a normal hash?
Yes — HMAC mixes a secret key into the hashing process, so the same message produces a different HMAC with a different key.