Use this free JWT decoder to read the contents of a JSON Web Token in seconds. Paste a token and click Decode to see its header, payload, and signature as clean, formatted JSON. Standard claims such as exp, iat, and nbf are converted into readable dates, and the tool tells you whether the token is active, expired, or not yet valid. You can copy each part or download the full result as a .json file.
A JWT is encoded, not encrypted. Anyone holding the token can read its payload, so keep secrets out of it.
How to use the JWT decoder
- Paste your token: copy it from an Authorization header, a cookie, or your browser storage. The "Bearer " prefix is removed for you.
- Choose options: show dates in local time or UTC, and pick the JSON indentation.
- Click Decode: the tool splits the token, decodes each part, and lists the claims it recognizes.
- Copy or download: copy the header or payload, or save everything as a .json file.
What is inside a JWT
| Part | Example | What it holds |
|---|---|---|
| Header | {"alg":"HS256","typ":"JWT"} | The signing algorithm and token type |
| Payload | {"sub":"1234","exp":1767225600} | Claims about the user and the token |
| Signature | SflKxwRJSMeKKF2QT4fw… | Proof the header and payload were not changed |
Common JWT claims
- iss (issuer): who created and signed the token.
- sub (subject): who the token is about, usually a user ID.
- aud (audience): which service the token is meant for.
- exp (expiration time): when the token stops being valid, in Unix seconds.
- nbf (not before): the earliest time the token can be used.
- iat (issued at): when the token was created.
- jti (JWT ID): a unique ID that helps prevent token reuse.
Decoding tells you what a token says. Only signature verification on your server tells you whether to trust it.
Worked examples
Check why a login fails
Paste the token your app sends and click Decode. If the status shows "Expired", compare the exp date with the current time to see how long ago it lapsed.
Confirm user roles
Decode an access token and look at the payload for custom claims such as role or scope to confirm the user has the permissions you expect.
Spot a malformed token
Paste a token that was cut off when copying, such as eyJhbGciOiJIUzI1NiJ9.eyJzdWIi. The tool reports which part could not be decoded so you can grab the full value again.
Frequently asked questions
Is this JWT decoder free to use?
Yes. You can decode, copy, and download tokens without creating an account.
Is my token uploaded or stored?
No. Decoding happens entirely in your browser. Nothing you paste is sent to a server or saved, and clearing the form removes it from the screen. Even so, avoid pasting live production tokens into any site you do not control.
Does the decoder verify the signature?
No. The tool shows what the token contains but does not check the signature. Verification needs the secret or public key and should be done on your server with a trusted JWT library.
How do I know if a JWT has expired?
The decoder reads the exp claim, converts it to a date, and shows whether the token is active, expired, or not yet valid. The check uses your device clock, so a wrong system time can affect the result.
Is the payload of a JWT encrypted?
No. A standard signed JWT (JWS) is only Base64URL-encoded, so anyone with the token can read it. Encrypted tokens (JWE) have five parts and cannot be decoded without the key.
Why does my token show an error?
A JWT must have three parts separated by dots, and each part must be valid Base64URL. Errors usually mean the token was cut off, has extra spaces or quotes, or is not a JWT at all.