Free, no sign-up
JWT Decoder
Decode a JWT, see when it expires and verify the signature with a secret, PEM or JWK key. You can sign test tokens too.
No trackers on this page. Use test tokens and treat production JWTs like passwords.
- Honest signature statusDecoded and verified are shown apart, so you always know if the signature was checked.
- Times you can readexp, nbf and iat show as dates, with how long ago or how soon.
- Keys the way you have themVerify with a shared secret, a PEM public key, or a JWK or JWKS you paste.
Puts the cursor in the token box when the page opens.
Paste a JWT below to decode, validate, and verify it in your browser.
Decoded token
Paste or generate a JWT to see the decoded header and payload.
Verify signature (optional)
Verification uses Web Crypto in your browser.
/jwt-decoder
How it works
Decode and inspect JSON Web Tokens. See the header, payload claims and expiry, verify the signature, or sign a test token. Runs in your browser.
- 1
Paste a JWT (three dot-separated Base64URL parts) into the input field.
- 2
The header, payload, and signature sections decode automatically.
- 3
Check exp, nbf and iat to see whether the token is active, expired or not yet valid.
- 4
Add a secret, PEM key or JWK to verify the signature.
- 5
Copy the header, payload or token for your code or debugging.
Frequently Asked Questions
Common questions about JWT Decoder.
What is a JWT?
A JSON Web Token (JWT) is a compact, URL-safe token with three Base64URL parts separated by dots. The header holds the algorithm and type, the payload holds the claims, and the signature protects them. JWTs are common in sign-in and API access.
Does this tool verify the JWT signature?
Yes, if you add a key. Use a shared secret for HS256, HS384 or HS512, or paste a PEM public key, a JWK or a JWKS for RS, PS and ES tokens. Verification uses Web Crypto in your browser. Tokens with alg none have no signature, and the tool warns you about them.
Is my JWT safe to paste here?
Decoding and verification run in your browser with Web Crypto, and this page loads no trackers. A JWT can still hold personal data or grant access, so use test tokens and treat production JWTs like passwords.
What does the expiry check show?
The tool reads exp, nbf and iat and shows each as a date with relative time. It tells you if the token is active, expired or not yet valid, based on this device's clock.
What JWT algorithms are supported?
You can decode any JWT. Verification supports HMAC (HS256, HS384, HS512), RSA and RSA-PSS (RS and PS), ECDSA (ES), and flags unsigned alg none tokens. Encrypted JWE tokens are detected but not decrypted.
Where do RSA and ECDSA demo keys come from?
When you pick an RS, PS or ES algorithm in the Encoder, the tool creates a demo key pair in your browser with Web Crypto. The keys last for this tab only and are meant for trying out signing and verification.