HMAC Generator
Compute keyed message authentication codes (HMAC-SHA-1/256/384/512) entirely in your browser. Generate, verify, and inspect the exact signatures GitHub, Stripe, Slack & Square expect.
Algorithm
SHA-256
— bit digest
Key length
0
UTF-8 text
Message length
0
From UTF-8 text
Mode
Generate
Switch tabs to compare an expected signature.
Workspace
Set an algorithm, supply a key in your preferred encoding, and enter a message — every supported output format updates live.
Enter a key to start signing.
Message
Hex (lowercase)
Enter a key and a message to compute the signature.
Hex (uppercase)
Enter a key and a message to compute the signature.
Base64
Enter a key and a message to compute the signature.
Base64 URL-safe
Enter a key and a message to compute the signature.
Base64 (no padding)
Enter a key and a message to compute the signature.
Decimal byte array
Enter a key and a message to compute the signature.