JWT encoder

Build a compact HS256 JWT from header JSON, payload JSON, and a secret. Signing stays in this tab.

This is an encoder, not a jwt.io clone. A small decode panel shows the token you just made so you can confirm claims. The secret is never sent off-device.

Signing uses Web Crypto HMAC-SHA-256 in this tab. The secret is never sent to ToolPetal.

UTF-8 bytes of this string become the HMAC key. Shown as a password field so it is not casually copied.