Toffeekit
  • Home
  • All tools513
  • Recent
  • Favorites
Categories
  • Images51
  • Video21
  • PDF33
  • AI24
  • Data21
  • SEO12
  • Developer32
  • Text27
  • Design18
  • Files13
  • Utilities5
  • Productivity17
  • Finance26
  • Math39
  • Education19
  • Date & Time29
  • Converters43
  • Fun & Random24
  • SaaS13
  • Business17
  • Social11
  • Media5
  • Security13
Buy me a coffee
ToffeekitSecurityHMAC Generator

HMAC Generator

HMAC-SHA256, SHA-512, SHA-384 and SHA-1 with a secret key, plus signature checks. Runs entirely in your browser — nothing is uploaded.

Help
Runs locally Instant, no sign-up Works offline
Use cases

One click to the right settings

Check a webhook signature

Hex HMAC-SHA256, as GitHub, Stripe and Slack send it.

Base64 signatures

The Base64 HMAC format Shopify and Twilio use.

How it works

How to use HMAC Generator

  1. 01Paste the Message exactly as it was sent and set its format: Text, Hex or Base64.
  2. 02Enter the Secret key and its format.
  3. 03Choose the Output encoding: Hex, Base64 or Base64url.
  4. 04Copy an HMAC, or paste a signature into Compare with a signature to check it.
Questions

HMAC Generator FAQ

5 answers to what people ask most about the HMAC Generator.

What is an HMAC?

An HMAC is a hash-based message authentication code: a hash of a message mixed with a secret key. Anyone with the key can recompute it, so it proves the message came from someone holding the key and wasn't changed.

How do I verify a webhook signature?

Paste the raw request body as the message, your webhook signing secret as the key, and the signature header into Compare with a signature. Prefixes like sha256= are stripped for you.

Hex, Base64 or Base64url: which should I use?

They're three ways to write the same bytes. GitHub, Stripe and Slack use hex; Shopify and Twilio use Base64; JWTs use Base64url without padding.

Is my secret key sent anywhere?

No. The HMAC is computed with your browser's Web Crypto API, and the key stays on this page.

Is HMAC Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

Something not working? Tell us and we'll fix it.

Report an issue
More tools
Password Generator

Strong random passwords from your browser's crypto.

Security
Text Redactor

Hide emails, phones, cards and more in any text.

Security
Passphrase Generator

Memorable random-word passphrases with entropy.

Security
Password Strength Checker

Test a password's strength and crack time privately.

Security
Something off with HMAC Generator? Report an issue or ask for a feature.Send feedback
© 2026 Toffeekit/Runs locally · No uploads · Free
AboutContactFeedbackPrivacyTermsCookiesSettingsllms.txt