JWT Decoder
Read a JWT's header, payload and time claims. Decode only.
This tool only decodes. It does not verify the signature, so a decoded token is not proof that it is genuine.
- Signature part
- present (not checked)
{
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022
}- iat
- 2018-01-18T01:30:22.000Z
Do not paste live production tokens into any website. This page decodes them in your browser and sends nothing, but treat tokens like passwords.
About this tool
A JSON Web Token, or JWT, is a compact string used by many websites and APIs to carry login information. It has three parts separated by dots: a header, a payload and a signature. The first two are just Base64URL-encoded JSON, so anyone can read them, which is useful when you are debugging why a login fails or what a token claims. This tool decodes the header and payload and shows them as formatted JSON. It also turns the standard time claims iat, nbf and exp, which are stored as seconds since 1970, into readable UTC dates. It does not verify the signature, and it says so on the page, because verifying needs a secret or a public key. That means a decoded token is not proof that the token is genuine or unexpired on the server. Decoding runs in your browser, but tokens act like passwords, so avoid pasting live production tokens into any website.
How to use it
- Paste the full token, including both dots, into the box.
- Read the header, which usually shows the signing algorithm.
- Read the payload to see the claims inside the token.
- Check the time claims for the issued, not-before and expiry dates.
- Remember that the signature is not checked.
How it works
The token is split at the dots. The first two parts are Base64URL decoded (the characters - and _ replace + and /, and padding is optional) into UTF-8 text and parsed as JSON. Time claims iat, nbf and exp are numbers of seconds since 1 January 1970 UTC and are shown as ISO dates. The third part, the signature, is only reported as present or missing.
Example: The widely used sample token starting eyJhbGciOiJIUzI1NiIs decodes to the header {"alg":"HS256","typ":"JWT"} and a payload with sub 1234567890, name John Doe and iat 1516239022, which is 18 January 2018 at 01:30:22 UTC.
Common uses
- Checking which user and permissions a token claims while debugging an API.
- Finding out when a token expires.
- Learning how JWTs are structured.
Frequently asked questions
Does this tool verify the token?
Is it safe to paste my token?
Why can anyone read my token?
What do iat, nbf and exp mean?
Can it decode encrypted tokens?
Related tools
Last reviewed 2026-11-01. Browse all tools