HMAC Generator
Compute HMAC-SHA1, SHA-256, SHA-384 and SHA-512 signatures with a secret key, instantly in your browser.
What is HMAC? Read our guide →What is HMAC?
HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key to produce a signature that proves both the integrity of a message and that it was signed by someone who knows the key.
Unlike a plain hash, HMAC cannot be reproduced without the secret — this is what makes it useful for verifying webhook payloads, signing API requests, and authenticating tokens.
SHA-1, SHA-256, SHA-384 and SHA-512
Four algorithms cover almost every real-world HMAC use case. HMAC-MD5 is not offered: the Web Crypto API does not implement it, and every common signing scheme (webhooks, AWS SigV4, JWT) already uses SHA.
Client-side, no data sent
All signatures are computed directly in your browser using the native Web Crypto API (SubtleCrypto.sign). Neither your message nor your secret key ever leaves your machine — though as a general rule, avoid pasting production secrets into any web tool.
Frequently asked questions
Web Crypto's subtle.sign only accepts a SHA-family algorithm as the underlying hash for HMAC, there's no MD5 option to pass it. The Hash Generator works around that same kind of gap for plain hashing with its own hand-rolled MD5, but repeating that here wasn't worth it: none of the schemes HMAC actually gets used for, webhook signatures, AWS SigV4, JWT HS256, ever specify MD5.