JWT Decoder

Paste a JSON Web Token (JWT) to read its header and claims, and see when it was issued and when it expires — without sending a live credential to someone else’s server.

The token is decoded in your browser and never sent anywhere. Still, treat live tokens like passwords.

How to decode a JWT

  1. Copy the token — for example from an Authorization: Bearer … header in your browser's developer tools, from a cookie, or from your app's logs.
  2. Paste it into the box. The header and payload are decoded and pretty-printed immediately.
  3. Check the summary: algorithm, issued-at (iat), not-before (nbf) and expiry (exp) as readable dates, and whether the token is currently valid or expired.

What is inside a JWT

A JWT has three parts separated by dots: header.payload.signature. The header and payload are JSON objects encoded with Base64URL — encoded, not encrypted. Anyone who has the token can read them, which is exactly what this tool does.

ClaimMeaning
issIssuer — who created the token
subSubject — usually the user ID
audAudience — which service the token is meant for
expExpiration time (Unix seconds)
nbfNot valid before (Unix seconds)
iatIssued at (Unix seconds)
jtiUnique token ID, used to prevent replay

The signature proves the header and payload haven't been changed, but only to someone with the key. Encrypted tokens (JWE) have five parts and can't be read without the key; the tool will tell you if you paste one.

Security notes

Frequently asked questions

Is it safe to paste my JWT here?

This page decodes the token with JavaScript on your device and doesn’t send it anywhere, so it’s as safe as looking at it in your own developer tools. Still, avoid sharing production tokens in screenshots, chats or tickets.

Does this tool verify the signature?

No. Verifying requires the secret (for HS256) or the issuer’s public key (for RS256/ES256). Decoding only shows what the token claims; it doesn’t prove the claims are genuine.

Why does it say my token is expired?

The exp claim is earlier than your device’s current time. Request a new token (for example by refreshing your login) — or check that your computer’s clock is correct.

Can I edit the payload and use the token?

If you change the payload, the signature no longer matches and any correctly implemented server will reject the token.