How to use the JWT decoder

  1. Paste a JSON Web Token into Encoded token. A leading Bearer is removed automatically.
  2. The header and payload are decoded as you type and shown as formatted JSON.
  3. The Claims table explains standard claims and converts dates such as exp (expiration) and iat (issued at) into readable local times.
  4. Notes point out expired or not-yet-valid tokens, tokens without an expiry, and unsigned tokens (alg: none).

What a JWT contains

A signed JWT (a JWS) has three parts separated by dots: header.payload.signature. The header and payload are JSON encoded with base64url, which is an encoding, not encryption: anyone who has the token can read them. The signature is what lets the recipient check that the token was issued by a trusted party and hasn't been changed.

An encrypted JWT (a JWE) has five parts. Only its header can be read without the recipient's private key, so for these tokens the decoder shows just the header.

Why decoding doesn't prove anything

Decoding only reads the claims. Before trusting a token, an application must verify its signature using the issuer's key, and check its issuer (iss), audience (aud) and expiry (exp). In ASP.NET Core this is done by the JWT bearer authentication handler; never base access decisions on decoded but unverified claims.

Common claims

ClaimNameMeaning
issIssuerWho created and signed the token
subSubjectWho the token is about, usually a user ID
audAudienceWho the token is intended for, such as your API
expExpiration timeAfter this time the token must be rejected
nbfNot beforeBefore this time the token must be rejected
iatIssued atWhen the token was created
jtiJWT IDA unique identifier, used to prevent replay

Dates are NumericDate values: seconds since 1 January 1970 UTC. A value with 13 digits is usually milliseconds by mistake, and the decoder warns about it.

Frequently asked questions

Is my token sent anywhere?

No. Decoding runs entirely in your browser. The token is never sent to our servers, stored or logged.

Can this tool verify a signature?

No, and it doesn't claim to. Verifying a signature needs the issuer's secret or public key, and is best done by your application's authentication library.

Why does my token show a warning about alg: none?

A token with alg: none has no signature, so anyone could have created or modified it. Production systems should always reject these tokens.