JWT Decoder Online

Paste a JSON Web Token to see its header and payload as readable JSON and check whether it has expired. The token is decoded in your browser and never sent anywhere.

Dev Tool

JWT Decoder & Inspector

Decode, inspect and check the expiry of your JSON Web Tokens instantly, locally.

Waiting for input…

What is inside a JWT

A JWT has three parts separated by dots: the header (algorithm and token type), the payload (the claims: user, permissions, dates) and the signature. The first two are just Base64URL-encoded JSON, which is why anyone can read them.

  • exp: when the token expires (Unix time in seconds).
  • iat and nbf: when it was issued and from when it is valid.
  • sub, iss and aud: the subject, the issuer and the intended audience.

Decoding is not verifying

Decoding only reads the content. To trust a token, your server must verify the signature with the right key. Never put secrets in the payload: it is readable by anyone who has the token.

Frequently asked questions

Is it safe to paste production tokens?

The decoding happens locally with JavaScript and the token is not sent to any server. Even so, treat valid tokens like passwords and revoke any you think may have leaked.

Why does it say my token has expired?

The exp claim is earlier than your device’s current time. Also check that your clock is correct.

¿Prefieres español? Esta herramienta en español.