HMAC Generator
Generate secure HMAC signatures using MD5, SHA-1, SHA-256, or SHA-512.
Live HMAC Signer
About this Tool
HMAC (Hash-based Message Authentication Code) is a specific type of message authentication code involving a cryptographic hash function and a secret cryptographic key. It is used to simultaneously verify both the data integrity and the authenticity of a message.
HMACs are widely used in modern web APIs (like Stripe, AWS, and GitHub webhooks) to securely sign requests. By using a secret key known only to the sender and receiver, it prevents "man-in-the-middle" attackers from tampering with the payload.
How to Use
Enter Data and Key
Provide the plaintext message (payload) and the secret key. Both are required to generate an HMAC signature.
Select Algorithm
Choose the hashing algorithm. HMAC-SHA256 is the modern standard for most web APIs and webhooks.
Format and Copy
Select between Hexadecimal or Base64 output formatting depending on your API requirements, then copy the result.