HMAC Generator
Generate HMAC signatures using SHA-256, SHA-512, or MD5 with custom secret keys for message authentication.
About This Tool
HMAC (Hash-based Message Authentication Code) combines a cryptographic hash function with a secret key to produce a signature that verifies both the integrity and authenticity of a message. The HMAC Generator lets you create HMAC signatures using SHA-256, SHA-512, or MD5 with any secret key you provide.
HMAC is widely used in API authentication, webhook verification, JWT signing, and secure communication protocols. When a server sends you a webhook with an HMAC signature, you can use this tool to independently compute the expected signature and verify it matches. Unlike a plain hash, HMAC requires knowledge of the secret key, so an attacker cannot forge a valid signature without it.
All computation happens entirely in your browser using the Web Crypto API. Your message text and secret key are never sent to any server. The tool outputs the HMAC in hexadecimal format by default, with options for Base64 encoding. This makes it straightforward to compare against signatures from services like Stripe, GitHub, Shopify, and other platforms that use HMAC for webhook verification.
Frequently Asked Questions
Related Tools
Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text input instantly in your browser.
Security and EncryptionBcrypt Hash Generator and Verifier
Generate bcrypt hashes with configurable rounds and verify passwords against existing bcrypt hashes.
Security and EncryptionText Encryption and Decryption
Encrypt and decrypt text using AES-256 encryption entirely in your browser. No data sent to servers.
Security and Encryption