HMAC Generator
Generate HMAC signatures using SHA-256, SHA-384, and SHA-512. Uses the Web Crypto API.
About HMAC Generator
HMAC Generator computes Hash-based Message Authentication Codes using SHA-256, SHA-384, or SHA-512. Enter a secret key and message, and get the HMAC signature in hex and Base64 formats.
HMAC is widely used for API request signing and webhook signature verification — services like Stripe, GitHub, and Shopify use HMAC-SHA256 to sign webhook payloads. This tool lets you compute and verify HMAC signatures without writing code.
All computation uses the browser's Web Crypto API. Keys and messages are never sent to any server.
Features
- ✓HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512
- ✓Hex and Base64 output formats
- ✓Web Crypto API — runs in-browser
- ✓No server — key and message stay local
Common Use Cases
- →Verifying webhook signatures from Stripe, GitHub, or Shopify
- →Generating HMAC signatures for API authentication
- →Debugging webhook signature verification code
- →Learning how HMAC-based API signing works