Simple online tools for developers, networking, text and conversions.

Developer Tools

HMAC Generator

Generate HMAC digests using a secret key and message.

Tool

Use this HMAC generator to create HMAC values from a message, secret key, and selected algorithm such as SHA-1, SHA-256, or SHA-512. It is useful for APIs, signatures, webhooks, signed requests, and debugging authentication flows.

About this tool

Use this HMAC generator to create HMAC values from a message, secret key, and selected algorithm such as SHA-1, SHA-256, or SHA-512. It is useful for APIs, signatures, webhooks, signed requests, and debugging authentication flows.

Use hmac generator when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Enter the message, secret key, and algorithm.
  2. Run the tool to generate the HMAC digest.
  3. Review the output value.
  4. Copy the result for testing, headers, or documentation.

Examples

Example

Input

message=hello
key=secret
algorithm=sha256

Output

HMAC digest value

Generates a keyed digest for a simple message and secret.

Common errors

The key or message is pasted incorrectly and the result does not match the expected digest.

Fix: Check whitespace, casing, and exact input values carefully.

The wrong algorithm is chosen for the target system.

Fix: Make sure the selected HMAC algorithm matches the API or webhook spec.

The user expects plain hashing instead of keyed hashing.

Fix: Use a normal hash generator if no secret key should be involved.

FAQ

What algorithms does HMAC Generator support?

It supports common HMAC algorithms such as SHA-1, SHA-256, and SHA-512.

What input formats are supported?

You can use JSON, key=value lines, or simple text input with message and key fields.

What is this useful for?

It is useful for API signing, webhook validation tests, and signed-request debugging.

Is this HMAC generator free to use?

Yes. It works online in the browser.

When should I use HMAC Generator instead of a normal hash generator?

Use HMAC when a secret key is part of the calculation. Use a normal hash generator when you only need a plain one-way digest of text.

Use cases

Related tools