Monu Tools

HMAC Generator

Generate an HMAC for a message and secret key using SHA-1, SHA-256, SHA-384 or SHA-512, in your browser.

How to use the HMAC

  1. 01

    Pick a hash algorithm.

  2. 02

    Enter your secret key and the message.

  3. 03

    Copy the HMAC, shown as a hex digest.

Frequently asked questions

What is an HMAC?

A keyed hash that proves a message was created by someone holding the secret key and was not altered. It is widely used for API request signing and webhooks.

Is my secret sent anywhere?

No. The HMAC is computed in your browser with the Web Crypto API, so the key and message never leave your device.

Which algorithm should I use?

SHA-256 is the common default. SHA-384 and SHA-512 are stronger; SHA-1 is legacy and best avoided for new systems.

About this tool

An HMAC generator that signs a message with a secret key using SHA-1, SHA-256, SHA-384 or SHA-512 and shows the hex digest.

It runs locally with the Web Crypto API, so your key and message stay private.

Related tools

We use essential cookies to run the site. With your consent we also load Google AdSense, which sets advertising cookies. See our privacy policy.