Tool capabilities
- Input
- TXT
- Output
- JSON · TXT
How to use HMAC-SHA-256 Generator
Calculate an HMAC-SHA-256 message authentication code with a UTF-8 secret key using Web Crypto. This hmac-sha-256 generator works directly in your browser and is free to use without an account.
- Paste the message or JWT into the input.
- For HS256 verification or HMAC, enter the UTF-8 shared secret and run the calculation.
- Inspect and copy the result. Clear the inputs when finished.
HMAC-SHA-256 Generator · Example
Input
Hello, world!
Output
04ca58df5d1660e1f9b9b9242e7f49cf265b5cf636f15cdf07fe12dfde623e55
Example UTF-8 key: example-key. Never reuse demonstration keys.
Usage notes
Inputs and results are processed on this device. Tool content is not sent to a processing server.
HMAC-SHA-256 authenticates a message with a secret key. It is not reversible encryption.
Tokens and secret keys are held in memory and are never autosaved.