HMAC-SHA256 calculator

Calculate a keyed SHA-256 message authentication code for testing.

Text Stateless

Message: at most 65536 code points. Test key: at most 256. The key is not redisplayed.

How it works and examples

The message and key are encoded as UTF-8. Use a test key: it is sent to the server, is not saved in the form response, and must not be a production secret. Output is a lowercase hexadecimal HMAC-SHA256. This tool computes a code; it does not verify a received signature.