HMAC Generator
Generate HMAC-SHA256, HMAC-SHA512 and other HMAC digests using browser Web Crypto.
About this tool
HMAC (Hash-based Message Authentication Code) combines a cryptographic hash function with a secret key to produce a message authentication code. Unlike a plain hash, an HMAC proves both data integrity and authenticity: only someone who knows the secret key can produce the same HMAC for a given message.
This tool computes HMAC digests using the browser's native Web Crypto SubtleCrypto API, which is the same implementation used by HTTPS connections. Supported algorithms: HMAC-SHA-1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512. HMAC-SHA-256 is the most widely used — it is the algorithm behind AWS Signature V4, GitHub webhook verification, Stripe webhook signatures, and JWT HS256.
Nothing leaves your browser. You can verify by opening DevTools → Network while computing.
Frequently asked questions
What is the difference between a hash and an HMAC?
What is HMAC used for?
Is HMAC-SHA1 secure?
Related tools
SHA Hash Generator
Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes using browser-native Web Crypto.
JWT Decoder / Debugger
Decode JWT headers and payloads, inspect claims, and optionally verify HS256 signatures — all in your browser.
Password Generator
Generate strong random passwords with configurable length, charset, and an entropy meter.