HMAC generator
Compute HMAC-SHA-256/384/512 locally from a message and key. UTF-8 or hexadecimal key, up to 4096 bytes. This does not verify JWTs.
Inputs stay in this page. Nothing is uploaded or saved automatically.
Message: up to 1 MiB of UTF-8 (1,048,576 bytes). Key: 1–4,096 bytes, entered as UTF-8 text or hexadecimal (two digits per byte).
Check an HMAC-SHA-256 test message
Select SHA-256 and a UTF-8 key. Enter key as the key and hello as the message, without a trailing newline. The hexadecimal key 6b6579 represents the same three bytes and gives the same result.
9307b3b915efb5171ff14d8cb55fbcc798c6c0ef1456d66ded1a6aa723a58b7b