About this tool
Create keyed-hash message authentication codes in your browser using the WebCrypto API; nothing is sent anywhere.
Type a message and a secret key, choose SHA-256, SHA-1, SHA-384 or SHA-512 and press Generate. The result is the HMAC as lowercase hexadecimal, computed with the WebCrypto API. It does not update as you type, so press Generate again after changing any field.
The key must not be empty, but the message may be. The key is entered as plain text and encoded as UTF-8, not read as hex or Base64, so a hex key from another system would be used as text and give a different result than the raw bytes. The tool only generates codes and cannot check a received one.