Tool
HMAC Generator
Compute HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 message authentication codes.
Last updated April 1, 2026
Runs entirely in your browser — no data sent to servers. Privacy policy
Prove it runs locally
- Open DevTools → Network tab
- Click Generate
- Confirm zero outbound requests for the secret
Generation uses crypto.getRandomValues() in your browser. Privacy policy
Advertisement
How to Use This Tool
Enter the message to authenticate and your secret key.
Select HMAC algorithm: SHA-256 (most common), SHA-384, or SHA-512.
Click Generate HMAC to compute the authentication code.
Use HMAC for API request signing, webhook verification, and understanding HS256 JWT internals.
Continue learning
ToolsHash Generator — SHA-256 and SHA-512 hash functions.JWT Secret Generator — Generate secrets for HS256 JWT signing.
ArticlesHMAC Explained: Generate and Verify — How HMAC works, key generation, and verification pitfalls.What Is a JWT Secret Key? — How HMAC powers HS256 JWT signing.SHA-256 vs SHA-512 Comparison — Hash strength behind HMAC algorithms.
CompareHex vs Base64 JWT Secrets