What is an HMAC?
An HMAC combines a cryptographic hash function with a secret key to authenticate data and verify its integrity.
Security
Generate HMAC values with SHA-256, SHA-384 or SHA-512 directly in your browser.
Generate HMAC values with SHA-256, SHA-384 or SHA-512 directly in your browser.
This tool runs in your browser. Your input is processed locally and is not uploaded.
Use this HMAC generator to test webhook signatures, API authentication and message integrity logic. Choose the hash algorithm and input encoding, then compare the generated value with your expected signature.
An HMAC combines a cryptographic hash function with a secret key to authenticate data and verify its integrity.
A normal hash uses only the message, while an HMAC also requires a secret key.
HMAC-SHA256 is widely supported and suitable for most modern integrations unless a protocol requires another option.