HMAC Generator

HMAC message authentication code generation

input

secret Key

key Encoding

output Encoding

algorithms

usage Note

About HMAC Generator

HMAC tool generates keyed message authentication codes with SHA-256, SHA-512 and other digest algorithms. Useful for API signatures, webhook verification, tamper protection and integration debugging.

How to Use

  1. Enter the message to sign
  2. Provide the shared secret key
  3. Select HMAC algorithm and output encoding
  4. Copy the generated signature for API verification

Frequently Asked Questions

How is HMAC different from a regular hash?
A regular hash has no secret. HMAC uses a shared key, so it verifies both message integrity and that the sender knows the key.
Why does my API signature not match?
Common causes include parameter order, newlines, encoding, timestamp, key or algorithm mismatch. Build the string-to-sign exactly as the API document requires.
Can HMAC decrypt data?
No. HMAC is an authentication code, not encryption. It verifies integrity and origin but cannot recover plaintext.