JWT Decoder

Paste a JSON Web Token to read its header and payload and to see when it was issued and when it expires. The token stays in your browser.

Updated November 2026

Quick answer: A JSON Web Token (JWT) has three Base64URL-encoded parts separated by dots: a header, a payload of claims, and a signature. The first two parts are only encoded, not encrypted, so anyone holding the token can read them. This tool decodes them and shows the timestamps in readable form.

JWTs are widely used to carry login sessions and API permissions. When something fails, the first debugging step is usually to look inside: which algorithm was used, who the subject is, which audience it targets and whether it has expired.

What the parts mean

  • Header: usually the signing algorithm (alg) and token type (typ), and sometimes a key ID (kid).
  • Payload: the claims. Common registered claims are iss (issuer), sub (subject), aud (audience), exp (expiry), nbf (not before), iat (issued at) and jti (token ID).
  • Signature: proves the token was not altered. It can only be checked with the right secret or public key, so this page does not verify it.

Timestamps such as exp are Unix seconds. The tool converts them to UTC and to your local time zone.

Security reminders

  • Decoding is not verification. Never trust claims from a token until your server has verified the signature, issuer, audience and expiry.
  • Do not put secrets in a JWT payload. Anyone who sees the token can read it.
  • Treat live tokens like passwords. This page decodes in your browser and sends nothing, but avoid pasting production tokens into tools you do not trust.

Frequently asked questions

Does this tool verify the signature?

No. Verification needs the secret or public key and must be done by your own server or library. This page only decodes the readable parts.

Is my token sent to a server?

No. Decoding happens in your browser with JavaScript, and the token is not uploaded or stored.

Why does it say my token is invalid?

A JWT must have exactly three dot-separated parts, and the first two must be Base64URL-encoded JSON. Check for missing characters, extra spaces or a trailing quote copied with the token.

What does an expired token mean?

The exp claim is in the past, so a correctly configured server will reject it. Request a new token, for example with a refresh token.

People also search for this as: decode jwt, json web token parser, jwt viewer, jwt debugger, jwt expiry checker, jwt payload decoder.

Sources and further reading

Press Esc to close