JWT Encoder
Header & Payload
Tip:
"typ": "JWT"
will be set automatically if missing.Claim helpers (optional)
minutes
Sign & Output
Tip: Press Ctrl/Cmd + Enter to create a JWT. You can also drop a .json
file into the payload box.
About this tool
This encoder assembles a JWT by JSON-encoding your header and payload, Base64URL-encoding both, and signing the byte string header.payload
(when applicable) using the Web Crypto API.
Signing support
- none: no signature (use with caution).
- HS256: HMAC SHA-256 with a secret string.
- RS256: RSA PKCS#1 v1.5 with SHA-256 using a PEM private key (PKCS#8 or PKCS#1).
Privacy
Everything runs locally in your browser—no uploads. For highly sensitive secrets or keys, consider using the offline bundle or a dedicated local environment.