JWT decoder
Read the header, payload and expiry of a JSON Web Token without sending it anywhere.
Decoded in your browser. Nothing is sent or saved.
Header
Payload
Dates
Signature
The signature is shown but not verified: verification needs the issuer’s key.
Runs entirely in your browser. Your files never leave your device.
About this tool
A JSON Web Token is three base64url parts separated by dots: a header, a payload of claims and a signature. Paste one here to read the header and payload as formatted JSON, see when it was issued, when it becomes valid and when it expires in your own time zone, and check at a glance whether it has expired.
Tokens are credentials, so pasting them into an online service is risky. This decoder runs entirely in your browser: the token is not uploaded, not stored and not put in the address bar. It works with access tokens and ID tokens from OAuth 2.0 and OpenID Connect providers, and accepts a leading “Bearer”.
How it works
- Paste the token, with or without “Bearer”.
- Read the decoded header (algorithm, type, key id) and payload.
- Check the dates and the expiry status.
- Copy the JSON you need, then clear the field.
The decoder does not verify the signature: that needs the secret or the public key of the issuer, which should never be pasted into a web page. Treat a decoded payload as untrusted until your server has verified it.
Worked example
The classic test token from the JWT documentation has a payload with "sub": "1234567890", "name": "John Doe" and "iat": 1516239022. The decoder shows that it was issued on 18 January 2018 at 01:30:22 UTC, in your time zone too.
A real access token with exp one hour after iat shows a live countdown, so you can see at once whether a failing API call is due to an expired token.
Good to know
- Decoding is not verifying: anyone can create a token with any payload. Your server must check the signature.
- Never put secrets in a JWT payload; it is only base64url-encoded, not encrypted.
- Clock differences of a few seconds between servers can make a fresh token look “not yet valid” (nbf).