MyAITools
Crypto

HMAC Generator

HMAC Generator is a free online crypto that helps you compute HMAC-SHA1, HMAC-SHA256, HMAC-SHA384 or HMAC-SHA512 of a message under a secret key; output in hex and base64. HMAC Generator uses 4 input fields, returns 3 output values, and runs in your browser on the device.

Key facts

Inputs
4 fields: Message, Secret key, Algorithm, and Key encoding
Outputs
3 values: HMAC (hex), HMAC (base64), and Digest length (bytes)
Runtime
your browser on the device
Mode
Crypto
Privacy
Files and text stay in the browser session.
Cost
$0, no account required

How to use HMAC Generator

  1. 1

    Paste or fill in the input

    Enter your text or values into the input fields on the page.

  2. 2

    Run the utility

    Click Compute to run the utility in your browser and review the result.

  3. 3

    Copy the output

    Copy the output value you need from the result panel.

HMAC Generator details

First, enter Message in HMAC Generator. Next, review HMAC (hex), HMAC (base64), and Digest length (bytes). Additionally, HMAC Generator uses 4 input fields and 3 output blocks so the result is easy to scan and copy.

Generate a Hash-based Message Authentication Code (HMAC) from a message and a secret key, using the algorithm of your choice. The key can be UTF-8, hex or base64; pick the encoding to match how it's stored. Output is shown in both hex and base64 so you can paste straight into whichever API your stack expects. Computation uses WebCrypto's subtle.sign and runs entirely in your browser; your key and message never leave the device.

Common searches

  • hmac generator
  • hmac sha256 generator
  • hmac sha512
  • hmac sha1
  • hmac calculator
  • compute hmac

Tools that work with the same formats — most users open one of these next.

Frequently asked

What is HMAC Generator?

HMAC Generator is a free online crypto that helps you compute HMAC-SHA1, HMAC-SHA256, HMAC-SHA384 or HMAC-SHA512 of a message under a secret key; output in hex and base64. HMAC Generator uses 4 input fields, returns 3 output values, and runs in your browser on the device.

What inputs and outputs does HMAC Generator use?

HMAC Generator uses 4 input fields: Message, Secret key, Algorithm, and Key encoding. HMAC Generator returns 3 output values: HMAC (hex), HMAC (base64), and Digest length (bytes).

Do my files and data stay private?

Yes. HMAC Generator runs entirely in your browser using your device's CPU. Files and text are never uploaded to our servers, so your data stays private.

How do I use HMAC Generator?

Open HMAC Generator, paste or fill in the input fields, and the result updates instantly. HMAC Generator runs in your browser with no upload and no waiting.

Which browsers does HMAC Generator support?

Any modern browser works in Chrome, Firefox, Safari, and Edge on desktop and mobile. HMAC Generator uses standard web APIs and does not require any plugin, extension, or sign-up.