HMAC Generator
Free online HMAC generator to create keyed message authentication codes with HMAC-SHA256 or HMAC-SHA512. Enter a message and secret key to compute a signature and verify webhooks and APIs.
Embed
What is HMAC Generator?
Free online HMAC generator to create keyed message authentication codes with HMAC-SHA256 or HMAC-SHA512. Enter a message and secret key to compute a signature and verify webhooks and APIs.
How to Use
- 1Select Mode— Choose generation or verification mode.
- 2Enter Input— Enter the message and secret key.
- 3View Result— Copy the generated HMAC or check the verification result (match/mismatch).
Related Tools
Frequently Asked Questions
HMAC (Hash-based Message Authentication Code) is a method that generates message authentication codes using a secret key and hash function.
HMAC-SHA256 and HMAC-SHA512 are supported, using the Web Crypto API.
Presets for commonly used API signatures like Stripe, GitHub, and Slack webhooks are provided.
Yes, verification mode uses constant-time comparison to prevent timing attacks.
No. All calculations are performed in the browser via Web Crypto API.