JWT Decoder
Paste a JSON Web Token to instantly see its decoded header and payload. Runs entirely in your browser, your token is never sent anywhere.
How to use this
Paste any JWT into the box above and its header and payload decode instantly, no login or backend required. If the token includes an expiration or issued-at timestamp, it's translated into a readable date automatically. If you know the signing secret and the token uses HS256, you can optionally verify the signature to confirm the token hasn't been tampered with.
The claims in the payload, translated
Payloads use three-letter claim names from the JWT standard. The ones you will see in almost every token:
- iss (issuer): who created and signed the token, often a URL.
- sub (subject): who the token is about, usually a user ID.
- aud (audience): who the token is meant for, often an API name or client ID.
- exp (expiry): the moment the token stops being valid, as a Unix timestamp in seconds.
- iat (issued at): when the token was created, also in seconds.
- nbf (not before): the token should not be accepted before this time.
- jti (JWT ID): a unique ID for this specific token, used to block replays.
Anything else in the payload is a custom claim the issuing system added for itself, such as roles, permissions or a name.
Decoding a token is not verifying it
A JWT is signed, not encrypted. The header and payload are simply Base64URL-encoded, so anyone holding the token can read everything in it, exactly as this decoder does. That has two consequences.
First, never put a secret inside a token: no passwords, no private data, nothing you would not print on the outside of an envelope. Second, reading a token tells you nothing about whether it is genuine. Verification means checking the third segment, the signature, against the issuer's key, and that can only happen on a server that holds the key. If you edit even one character of the payload, the signature no longer matches and a properly built API will reject the token.
Treat whole tokens as credentials, because that is what they are: a bearer token works for whoever presents it until it expires. Paste tokens here only for debugging; this decoder runs entirely in your browser and sends nothing anywhere.
Frequently asked questions
Can I edit the payload of a JWT and still use it?
No. The signature is calculated over the exact header and payload, so changing even one character makes the signature invalid and any properly built API will reject the token.
Why does a token look unexpired but still get rejected?
The exp claim is a Unix timestamp in seconds, counted in UTC, so compare it against UTC rather than your local clock. Servers also reject tokens before their nbf time, and small clock differences between machines are usually handled with a few seconds of leeway.
How do I decode a JWT?
Paste the token into the box. Its header and payload decode instantly, with no login or backend. Timestamps such as expiry and issued-at are shown as readable dates.
Can this tool verify a JWT signature?
Yes, for tokens signed with HS256, if you know the signing secret. Verification confirms the token has not been tampered with.
Does decoding a JWT mean it is valid?
No. Decoding only reads what the token says. A server must verify the signature and expiry before trusting it.
Is it safe to paste my token here?
The token is decoded in your browser and is not sent to a server. Still, avoid pasting live production tokens into any online tool when a test token will do.