HMAC Generator
Compute a keyed hash (HMAC) from any message and secret using SHA-256, SHA-384, SHA-512, SHA-224, SHA-1 or MD5, output as hex or Base64. Useful for signing webhooks, verifying API requests and building tokens. Runs locally — your key never leaves the browser.
HMAC combines your message and secret key into a keyed hash. Computed locally — the key never leaves your browser.
🔒 This tool runs entirely in your browser. Your data is never uploaded.
Frequently asked questions
What's the difference between an HMAC and a plain hash?+
A plain hash like SHA-256 depends only on the message; an HMAC also mixes in a secret key, so only someone with the key can produce or verify it. That's what makes it useful for signing.
Which algorithms are supported?+
HMAC with SHA-256, SHA-384, SHA-512, SHA-224, SHA-1 and MD5, output as hex or Base64.
Is my secret key safe?+
Yes — the HMAC is computed entirely in your browser, so your message and key are never uploaded.