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
Paste or fill in the input
Enter your text or values into the input fields on the page.
- 2
Run the utility
Click Compute to run the utility in your browser and review the result.
- 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
Related tools
Tools that work with the same formats — most users open one of these next.
Hash Text
Compute MD5, SHA-1, SHA-256, SHA-384 or SHA-512 of any text — runs locally in your browser.
Markdown to Slack Converter
Convert standard Markdown to Slack mrkdwn format — bold, italic, links, code blocks, lists. Free, instant, in-browser.
Base64 Encode
Encode any text to Base64 (and URL-safe Base64) — runs locally in your browser, free and online.
Random String Generator
Generate batches of random strings — pick charset, length and count, all sourced from crypto.getRandomValues.
Decimal to Hex
Convert a decimal integer to hexadecimal — also shows binary and octal. Uppercase output with optional 0x prefix.
Text to Decimal
Encode each character as its Unicode code point in decimal — space-, comma- or newline-separated output.
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.