What is inside a JWT
A JWT is three Base64URL pieces joined by dots: a header (which algorithm signed it), a payload of claims (who the user is, when the token expires) and a signature. The first two are only encoded, not encrypted - anyone holding the token can read them, which is why you should never put secrets in a payload.
Common claims
| Claim | Meaning |
|---|---|
| sub | Subject - usually the user id |
| iss | Issuer - who made the token |
| aud | Audience - who it is meant for |
| iat | Issued at (Unix seconds) |
| nbf | Not valid before |
| exp | Expires at |
Important
This tool does not check the signature. A token that decodes cleanly can still be forged - your server must always verify the signature with its key before trusting any claim.
Frequently asked questions
Is it safe to paste a real token here?
The page decodes it locally and sends nothing, but treat live tokens like passwords and prefer expired or test tokens.
Why does it say expired?
The exp claim is earlier than your computer clock.
Can it verify the signature?
No - verification needs the secret or public key and belongs on your server.