Developer ToolsGeneratorsFree Tool
HMAC Generator
Compute a real HMAC (keyed-hash message authentication code) using SHA-1, SHA-256, SHA-384, or SHA-512, via the Web Crypto API.
How to Use HMAC Generator
- 1Enter your key
- 2Add a line with ---, then your message
- 3Optionally add another --- then the algorithm (SHA-1/256/384/512)
- 4Click Process to compute the HMAC
Frequently Asked Questions
Enter your key, then --- then your message, then optionally --- then the algorithm name (SHA-1, SHA-256, SHA-384, or SHA-512). If you omit the algorithm, it defaults to SHA-256.
Yes — it uses crypto.subtle.importKey and crypto.subtle.sign with the HMAC algorithm, the browser's native, standards-compliant implementation, for whichever hash function you select.
Verifying both the integrity and authenticity of a message using a shared secret key — commonly used for API request signing (e.g. AWS Signature, webhook signature verification) and secure tokens.
No — the HMAC computation happens entirely in your browser.
Related Tools
UUID Generator v4
Generate a random RFC 4122 version 4 UUID with the version and variant bits set correctly.
UUID Generator v1
Generate a real RFC 4122 version 1 (time-based) UUID, encoding the current timestamp plus a randomly-generated node identifier.
NanoID Generator
Generate a cryptographically random, URL-friendly ID using the same 21-character length and default alphabet as the popular nanoid library.
ULID Generator
Generate a real, spec-compliant ULID — a 26-character, lexicographically sortable ID with a Crockford base32-encoded timestamp and random suffix.