HMAC Generator

Generate HMAC-SHA1, SHA256, SHA384 or SHA512 signatures in hex and Base64.

Runs instantly in your browser — results update as you type.

What is HMAC?

HMAC (hash-based message authentication code) combines a secret key with a message and a hash function such as SHA-256 to produce a signature. Anyone with the key can check that the message is authentic and unchanged.

How to use the HMAC Generator

    Frequently asked questions

    Hex or Base64?

    They are the same signature in two encodings. Use the one your API or webhook provider expects.

    Is HMAC encryption?

    No. It proves authenticity and integrity; the message itself is not hidden.

    Why does my HMAC not match?

    The message must be byte-for-byte identical, including whitespace and line endings, and the key must be exact.