Skip to content
Free Online Tools
All Tools Text Tools Developer Tools Generators Converters Calculators Data & Converters Web & Design Encoders & Ciphers Networking Games About Blog News

HMAC Generator

Encoders & Ciphers 100% in-browser

Compute an HMAC from a message and secret key using SHA-1/256/384/512.

How to use the HMAC Generator

  1. 1 Enter your message and your secret key.
  2. 2 Pick the hash algorithm.
  3. 3 The HMAC is computed live — copy the hex result.

About the HMAC Generator

An HMAC (hash-based message authentication code) combines a secret key with a hash function to verify both the integrity and authenticity of a message. It is widely used to sign API requests and webhooks.

This tool computes HMACs with the browser’s native Web Crypto API, so your key and message never leave your device.

Frequently asked questions

Which algorithms are supported?

HMAC with SHA-1, SHA-256, SHA-384 and SHA-512.

Is my secret key sent anywhere?

No — the HMAC is computed locally using Web Crypto.

Related tools

Hash Generator Type text to instantly generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
Base64 Encode / Decode Convert text to and from Base64. Everything runs in your browser and is UTF-8 safe.
JWT Decoder Paste a JWT to decode its header and payload and check its expiry.

More from us

Recently used