HMAC Generator screenshot

HMAC Generator

Generate an HMAC with MD5, SHA-1, SHA-256 or SHA-512 in your browser. Type the key and the message; the digest is computed locally.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this hmac generator does

HMAC mixes the key into the inner and outer digest so a message cannot be authenticated without it. The key is hashed to the block size first, which is why an empty key is refused rather than silently producing the digest of an empty string.

How to use it

HMAC Generator: paste the message into the box above, set Algorithm (default "sha256") and Key (default "key"), and press Run to get the HMAC digest below.

Worked example

Input:

The quick brown fox jumps over the lazy dog

Output:

f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads message and returns HMAC digest; reloading the page discards both.

HMAC mixes the key into the inner and outer digest so a message cannot be authenticated without it. The key is hashed to the block size first, which is why an empty key is refused rather than silently producing the digest of an empty string.

Generate an HMAC with MD5, SHA-1, SHA-256 or SHA-512 in your browser. Type the key and the message; the digest is computed locally.

How to use it

HMAC Generator: paste the message into the box above, set Algorithm (default "sha256") and Key (default "key"), and press Run to get the HMAC digest below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads message and returns HMAC digest; reloading the page discards both.

What to Expect

Best for

  • Converting message to HMAC digest when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

The quick brown fox jumps over the lazy dog

Sample output

f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8

Frequently asked questions

How do I use the hmac generator?

HMAC Generator: paste the message into the box above, set Algorithm (default "sha256") and Key (default "key"), and press Run to get the HMAC digest below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.