Paste a JSON Web Token to read what it contains, including when it was issued and when it expires. The tool splits the token at its two dots, decodes the header and the payload from Base64URL and shows them as readable JSON, with the dates turned from Unix timestamps into normal dates. It only reads the token: it does not check the signature, so it cannot tell you whether a token is genuine. The decoding happens in your browser.
Paste a token to read what is inside.
Features
- Header and payload as readable JSON
- Issued, not-before and expiry dates
- Shows when a token has expired
- The token never leaves your device
How to use JWT Decoder
- Paste the token.
- Read the header and payload.
- Copy what you need.
Frequently asked questions
What is a JWT?
A JSON Web Token is a compact piece of text used to prove who you are, often after logging in. It has three parts separated by dots: a header, a payload with the data, and a signature. The header says which algorithm was used, the payload holds claims such as the user id and the expiry time, and the signature lets the server check that nobody changed the first two parts. The header and payload are encoded, not encrypted, so anyone who has the token can read them.
Does this check if the token is genuine?
No. Decoding only reads the token. Only the server that holds the secret key (or, for some algorithms, the matching public key) can check the signature. A decoded token that looks fine can still be forged or expired, so never trust what is inside it without verifying it on the server.
Is it safe to paste my token here?
The decoding happens in your browser and nothing is sent. Still, treat live tokens as passwords: do not share them, and prefer test tokens. A token that has not expired can often be used to act as you, so do not paste one into a chat, a ticket or a screenshot either.
What do iat, nbf and exp mean?
Issued at, not valid before, and expiration time. They are Unix timestamps, which count the seconds since 1 January 1970 (UTC), and the tool shows them as dates. If the exp date is in the past, the server should refuse the token. Other common claims are sub (the subject, often a user id), iss (the issuer) and aud (the audience).