Developer Tools

HMAC Generator

Create a keyed SHA-256, SHA-384 or SHA-512 message authentication code.

Free to use No account needed Quick result

Tool workspace

Private by design

Your result

Your result will appear here…

About the HMAC Generator

The HMAC Generator imports a UTF-8 secret into Web Crypto and signs the exact message with a standard keyed-hash construction. Unlike a plain digest, the result proves knowledge of the shared key.

How to use the HMAC Generator

  1. Enter the message and shared secret exactly.
  2. Choose the agreed SHA family and output encoding.
  3. Generate and compare the code without exposing the secret.

Practical tips

  • Do not use a production secret on a shared or untrusted device.
  • Both parties must use identical bytes, algorithm and encoding.
Helpful answers

HMAC Generator FAQs