Those Boring Tools
Security ToolsPrivate by design

HMAC Generator

Enter a message and secret key to compute an HMAC, entirely in your browser using the Web Crypto API.

How to use this tool

  1. 1Enter your message.
  2. 2Enter your secret key.
  3. 3Choose a hash algorithm.
  4. 4See the resulting HMAC in hex.

Frequently asked questions

How is this different from a plain hash?+

A plain hash (like the file checksum tool) has no secret key, so anyone can recompute it — an HMAC mixes in a secret key, so only someone who knows the key can produce or verify a matching HMAC.

Keep the boring tools boring.

If this saved you five minutes of nonsense, you can help keep the free tools running.

Buy the toolbox a coffee