Small Tools
Security utility

HMAC Generator

Create an HMAC-SHA-256 or HMAC-SHA-512 message authentication code.

● This tool runs entirely in your browser. Your input is never uploaded to our servers.

The message and key stay in this browser. Load example fills in the key example-secret, which is for the example only. Replace it with your real key.

Output
Your result will appear here…

How to use HMAC Generator

  1. Enter the message and secret key.
  2. Choose HMAC-SHA-256 or HMAC-SHA-512.
  3. Select Generate HMAC and compare using the same key and algorithm.

Example

Input / settings:

timestamp=1735689600&event=created

Output:

HMAC-SHA-256: aeb279522843028769a3094fbcc048b0df5afc3eb8d7f66a900743629b5b99bb

When to use

Overview

Create an HMAC-SHA-256 or HMAC-SHA-512 message authentication code.

Supported input

message and secret key

Output details

hexadecimal HMAC

Privacy and security

This tool runs entirely in your browser. Your input is never uploaded to our servers.

Frequently asked questions

Is HMAC the same as a plain hash?

No. HMAC combines a secret key with a hash function to authenticate a message.

Is my secret key transmitted?

No. Web Crypto uses the key locally in your browser.

Can I share the generated output?

The HMAC alone does not reveal the key, but treat signing workflows and associated messages according to your security policy.

Related tools