HMAC Generator

Free online HMAC generator. Compute HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 signatures with a custom secret key. Runs entirely in your browser.

Tools run in your browser. Shared links may include your input; check the URL before sharing.

How to use

  1. Enter the message and a test key.
  2. Match the algorithm and output format before comparing signatures.

This example illustrates one supported operation. Choose the matching mode and settings above; generated values and formatting may vary.

Example input or settings

message: hello
key: key

Example result

HMAC-SHA256: 9307b3b915efb5171ff14d8cb55fbcc798c6c0ef1456d66ded1a6aa723a58b7b

Why are the signatures different?

Both sides need the same message bytes, key bytes and algorithm. Compare using the same hex or Base64 representation.