JWT Decoder

Runs in your browser: nothing is uploaded

Decoded

Decoding a JWT

Paste the token into the box on the left. You can leave Bearer on the front; we remove it. The claims, payload and header appear on the right straight away, and the expiry is shown in your local time.

If you have no token to hand, Load a sample fills in an invented one so you can see what to expect.

Why it matters where a token is decoded

A JWT is as good as a password for as long as it is valid. Anyone holding one can act as that user. Paste a live token into a website that processes it on a server and you have given a working credential to someone you have never met.

Your token never reaches us. The decoding is a small piece of JavaScript running in your browser, and it carries on working with the network switched off. All the same, use tokens from a test system when you can.

The three parts of a token

A JWT is three Base64URL-encoded sections joined by full stops:

  1. Header: the type of token and the signing algorithm, for example RS256.
  2. Payload: the claims. The issuer (iss), the subject (sub), the intended audience (aud) and the expiry (exp).
  3. Signature: evidence that the first two sections have not been altered.

The first two are encoded, not encrypted. Whoever has the token can read them, so a JWT is no place for a password or anything else confidential.

Making sense of the times

exp, iat and nbf are counted in seconds from 1 January 1970 (UTC). We turn each into a proper date and say how long ago, or how far off, it is. "This token expired 3 hours ago" settles a good share of "why am I being logged out?" calls without further digging.

Where a token looks sound but is still refused, check nbf and iat against the server's clock. A server running a few minutes slow will reject a token as "not yet valid".

What a decoder cannot prove

We do not check the signature. That requires the issuer's secret or public key, and a signing secret should never be typed into a website. A decoded token therefore shows what the token says. Whether it is genuine is for the service that verifies the signature to decide.

There is one thing we do flag: a header reading "alg": "none". Such a token carries no signature at all and should not be trusted.

Last reviewed 15 November 2026.