JWT Decoder
Paste a JSON Web Token to see what is inside: the algorithm, the claims and when it was issued or expires. Everything is decoded locally.
- Paste your token
- Read the header and payload
- Check the dates and whether it has expired
Your files never leave your device
What a JSON Web Token contains
A JSON Web Token is a compact string used to carry a sign-in or authorization claim between systems. It is made of three parts separated by dots, and the first two are only base64url-encoded JSON, not encrypted. Paste a token and the tool shows the header, the payload and the algorithm, and turns the time claims into readable dates.
- A JWT has three parts separated by dots: header, payload and signature.
- exp, iat and nbf are shown as dates, with a clear expired or valid status.
- The signature is not verified. Never trust a token just because it decodes.
A worked example
The start of most tokens, eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9, decodes to the header with the algorithm HS256 and the type JWT. If the payload has an exp value of 1700000000, the tool shows it as 14 November 2023 at 22:13:20 UTC (displayed in your own time zone) and reports the token as expired, because that moment has passed.
In the same way, an iat value tells you when the token was issued, and nbf tells you the earliest moment it is valid. If nbf is in the future, the status says the token is not valid yet.
Security notes
Decoding is not verification. Anyone can create a token with any content, so the contents mean nothing until the signature is checked with the secret or public key on a server. This tool never asks for a key and never checks the signature.
Because the payload is readable by anyone who holds the token, never put passwords or private data in it. And avoid pasting live production tokens into any page you do not control, even though this one decodes locally.
Frequently asked questions
Is my token sent anywhere?
No. It is decoded in your browser. Still, avoid pasting live production tokens anywhere you do not control.
Does it verify the signature?
No. Verifying needs the secret or public key, which this tool never asks for. It only shows what is inside the token.
Why does it say the token is invalid?
A token needs two or three dot-separated parts of base64url JSON. Remove extra spaces or text before or after it.
What are exp, iat and nbf?
Expiry time, issued-at time and not-before time, as Unix seconds. They are converted to dates for you, with an expired or valid status.
Can it decode encrypted tokens (JWE)?
No. Only signed tokens (JWS) with readable JSON are supported. An encrypted token cannot be read without its key.
Can I edit a token here?
No. This tool only reads tokens. Changing a token would also invalidate its signature.