Free Online HMAC Generator (SHA-256, SHA-512, MD5)
Compute Hash-based Message Authentication Codes (HMAC) using SHA-256, SHA-512, SHA-384, SHA-1, or MD5 with Hex or Base64 output using Web Crypto.
100% Client-Side Privacy
Tokens, code & payloads never leave your browser.
Zero Latency Execution
Instant processing via native browser Web APIs.
No Account Required
Unlimited, free access without paywalls or quotas.
Key Features & Capabilities
How to Use the HMAC Generator
Paste the payload body and enter your HMAC shared secret key.
Choose SHA-256, SHA-512, or another HMAC hash function.
Copy the computed Hex or Base64 HMAC signature to verify webhooks or API headers.
Practical Developer Use Cases
Verifying Webhook Signatures (GitHub, Stripe, Cryptomus)
Reproduce and debug `X-Hub-Signature-256` or custom API HMAC headers locally without exposing your webhook signing secret.
Frequently Asked Questions
How does HMAC differ from a plain SHA-256 hash?
A plain SHA-256 hash only checks integrity and can be recomputed by anyone. HMAC mixes a secret shared key into the hash so only parties holding the key can produce or verify the signature.