Loading…

How to use HMAC Generator

Enter your message and secret key, choose a hash algorithm and output format, and the tool computes the HMAC using the Web Crypto API for you to copy.

Frequently asked questions

What is an HMAC?

A keyed hash that proves both the integrity and authenticity of a message — only someone with the secret key can produce a matching code.

How is HMAC different from a plain hash?

A plain hash uses no key, so anyone can recompute it. HMAC mixes in a secret key so the code cannot be forged without it.

Which algorithm should I choose?

SHA-256 is a strong default; use SHA-384 or SHA-512 for extra margin. Avoid SHA-1 for new security-sensitive uses.

More Developer Tools

Color Contrast Checker
Check WCAG 2.1 contrast ratio between a foreground and background color, with AA and AAA pass/fail for text sizes.
CSS Clamp Generator
Generate a fluid CSS clamp() for responsive typography or spacing that scales linearly between two viewport widths.
Unix Timestamp
Unix — human date + live now.
Cron Parser
Explain cron and next 10 run times.
Cron Generator
Build cron from schedule dropdowns.
Timezone Dev
Major timezone clock table.
Date Format Calc
20+ date format conversions.
URL Parser
Parse full URL structure.
Query String Builder
Build and encode query strings.
User-Agent Parser
Extract browser/OS/device/engine.
IP Info
IPv4/IPv6 class/type/binary info.
CIDR Calculator
Network range, netmask, hosts.

← View all Developer ToolsBrowse all 1,100+ tools →