Free Online JWT Decoder
A JWT is three Base64URL parts separated by dots. This decoder reads the header and payload so you can inspect claims such as subject, issuer and expiry while debugging authentication.
A JSON Web Token is just three Base64URL chunks joined by dots, which makes it unreadable until someone decodes it. Developers paste a token here when a login works in one environment but not another, to see which claims the server actually issued. Others check why an API returns 401, discovering that the exp value has passed or the audience is not what the client expected. Support engineers use it to confirm which user ID a session belongs to, and students use it while learning how stateless authentication stores its data.
Paste the whole token into the box labelled Input; it should look like xxxxx.yyyyy.zzzzz, and a sample is loaded so you can see the layout first. The Result area shows three sections: HEADER, with the algorithm and type, PAYLOAD, with all the claims in indented JSON, and DATES (UTC) whenever the payload contains iat, nbf or exp as numbers. Use the copy button above the result to take the decoded text away. If you see an error, check that you pasted the full token and no extra characters.
Decoding is not the same as verifying. This page reads the header and payload but does not check the signature, and it says so at the bottom of the result. Anyone can write a payload that claims to be an administrator, so never trust a token just because it decodes neatly. Remove a leading word such as Bearer before pasting, or decoding will fail. Encrypted tokens, which have five parts, will not decode. Also treat live tokens as passwords: avoid pasting production credentials into any shared screen or recording.
With the sample token, the header shows alg HS256 and typ JWT. The payload shows sub 123456, name Alona and iat 1760000000, and the dates section turns that last value into 2025-10-09T08:53:20.000Z. That is how you read an issue time without doing the arithmetic. For a real token, compare exp with the current time: if exp is earlier, the token has expired, and clock differences of a few seconds between servers can explain borderline failures. The nbf claim works the other way and marks the earliest valid moment.
Key Highlights:
- Free to use, no signup
- Instant results
- Processed in your browser
- Works on mobile and desktop

