ENCODING & HASHING

HMAC Generator

Create HMAC-SHA256/384/512 message authentication codes locally with Web Crypto.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

HOW TO USE

How to use the HMAC Generator

HMAC combines a secret key with a hash to prove a message wasn't altered. Webhooks, API request signing and many tokens rely on it. This tool computes HMACs locally, so the secret stays in your browser's memory.

  1. Paste your input into the workbench above. Mask production credentials or personal data first.
  2. Adjust the options you need and click Generate HMAC.
  3. Review and copy the result, then cross-check important conclusions against the original evidence.
USE CASES

HMAC Generator use cases

  • Verify webhook signatures from services like GitHub or Stripe.
  • Debug API request-signing mismatches.
  • Recompute HS256 JWT signatures during testing.

Related topics: hmac, signature, sha256, api

FAQ

HMAC Generator FAQ

Does the HMAC Generator upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the HMAC Generator free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the HMAC Generator on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the HMAC Generator's results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.