Keys and messages are processed locally in your browser with Web Crypto and never uploaded.
About This Tool
HMAC Generator creates keyed-hash message authentication codes using HMAC-SHA1, HMAC-SHA256, or HMAC-SHA512 via the Web Crypto API. Enter a message and secret to get hex and Base64 digests. Secrets never leave your device β everything is processed locally in your browser.
How to Use
- Enter the message to authenticate
- Enter your secret key
- Choose SHA-1, SHA-256, or SHA-512
- Click Generate HMAC
- Copy the hex digest (or use Base64)
Common Use Cases
- API: Verify HMAC signatures during debugging
- Webhooks: Reproduce provider signatures locally
- Learning: Compare algorithms on the same payload
- QA: Generate known digests for test fixtures
- Privacy: Sign without posting secrets online