Free JWT Decoder
Paste a JSON Web Token and read its header, payload and expiry instantly — in your browser only. Free, no sign-up, nothing uploaded.
✦ Free foreverNo sign-upExpiry shown100% private
Decode your JWT
Paste a JWT below and press Decode. Everything runs in your browser — the token is never uploaded anywhere, and the signature is NOT verified here.
How this JWT decoder works
A JWT (JSON Web Token) is a small, signed token that websites use to prove who you are after you log in. It has three parts, separated by dots: header.payload.signature. The header and payload are Base64url-encoded JSON — this tool decodes them and shows you what is inside.
The three parts
- Header: says how the token is signed — for example {"alg": "HS256", "typ": "JWT"}.
- Payload: the claims — who the token is for (sub), when it was issued (iat), when it expires (exp) and anything else the site stored in it.
- Signature: a code made with a secret key. It proves the token is genuine — but only the server with the secret can check it.
Important: decoding is not verifying
Anyone can decode a JWT — the header and payload are only encoded, not encrypted. That is why you should never put passwords or secrets inside a token. This tool does not verify the signature, so a decoded token is not proof that the token is genuine or still trusted.
Common claims
- sub — the subject: usually a user ID.
- iat — issued at, as seconds since 1 January 1970.
- exp — expiry time, in the same seconds format. After this time the token should be rejected.
- iss — who issued the token. aud — who the token is for.
Example: the sample token is for John Doe (sub 1234567890), issued 18 January 2018, and expires on 1 January 2030. Its algorithm is HS256.
Frequently asked questions
What is a JWT?
A JWT (JSON Web Token) is a small token that proves you are logged in. After you sign in, the server gives your browser a JWT, and your browser sends it with every request. It has three parts: header, payload and signature.
How do I decode a JWT?
Paste the token into the box above and press Decode token. The header and payload appear below, with the expiry date in plain language. Nothing is uploaded — it all happens in your browser.
Does this tool verify the signature?
No. This tool only reads the token — it never checks the signature, because checking needs the server's secret key. A token that decodes is not necessarily genuine or still trusted.
Is the payload in a JWT secret?
No. The payload is only Base64url-encoded, not encrypted — anyone who has the token can read it. Never put passwords, card numbers or other secrets inside a JWT.
What does exp mean in a JWT?
exp is the expiry time, in seconds since 1 January 1970. After that time the token should be rejected by the server. This tool turns it into a readable date and tells you whether the token is expired.
Is this JWT decoder free?
Yes. TokenPeek is 100% free. No account, no sign-up and no limit — decode as many tokens as you like. Your tokens never leave your browser.
More CodeLab tools
TokenPeek is one of 9 free tools on CodeLab. Try the others — all free, all in your browser.
JsonForge • BaseSixFour • RegexForge • CsvShift • Unixly • IdForge • SiteCheck • CronCraft