JWT Decoder - Read JSON Web Token Header and Claims Online

Developer Tools Free to use

A JWT decoder that keeps your token on your device

A JSON Web Token is three Base64URL parts joined by dots, and it is very hard to read by eye. This JWT decoder splits the token, turns the header and payload back into formatted JSON and explains the common claims, so you can decode a JWT while you debug a login or an API call.

Check JWT claims and expiry at a glance

The JSON web token viewer turns exp, iat and nbf into readable dates and tells you if the token has already expired, which is a common reason for a mysterious 401 error. The signature is shown only as a length, because this tool decodes a token and does not verify it. Please remember that anyone can read the payload of a JWT, so never put secrets in one.

How to use JWT Decoder

  1. Paste the token. A "Bearer " prefix is removed for you.
  2. Solve the security check and press Decode.
  3. Read the header, the claims table and the time status.
  4. Copy the payload or download the decoded token as a JSON file.

About JWT Decoder

The tool splits the token at the dots, converts each of the first two parts from Base64URL to text and parses it as JSON. Time claims (exp, nbf, iat) are shown as local and UTC dates. The signature is shown as a length only. This tool decodes; it does not verify. Anyone can read a JWT payload, so never put secrets in one.

Purpose of JWT Decoder Tool

Use it to inspect tokens from a login, check why an API says "token expired", confirm which algorithm and key id a token names, or see what claims a provider puts in an ID token.

Limitations of JWT Decoder

  • It does not verify the signature, so a decoded token is not proof that the token is genuine.
  • Only the three-part signed form (JWS) is decoded. Encrypted tokens (JWE, five parts) cannot be read without the key.
  • Dates are compared with your device clock. A wrong clock gives a wrong "expired" answer.
  • Tokens over 100 KB are refused to keep the page fast.

Privacy and data

JWT Decoder runs entirely in your browser. What you type or select is processed on your own device and is never sent to or stored on our server. See our Privacy Policy for details.

Frequently asked questions

Is it safe to paste a real JWT here?

The decoding happens in your browser and nothing is sent to a server. Even so, treat a live token like a password and avoid pasting production tokens on shared computers.

Does this tool verify the signature?

No. Checking a signature needs the secret or public key and the matching algorithm. This tool only decodes and explains the contents.

Why can anyone read my JWT payload?

A JWT is encoded, not encrypted. Base64URL is reversible by design, so keep passwords and private data out of the payload.

What are the three parts of a JWT?

A JWT has a header, a payload and a signature, separated by dots. The header names the algorithm, the payload holds the claims such as the expiry, and the signature shows the token was not changed.

How do I check when a JWT expires?

Decode the token and look at the exp claim. The tool shows the expiry as a readable date, so you can see whether the token has run out.

Rate JWT Decoder

No ratings yet. Be the first to rate this tool.

Your rating

Report a bug or give feedback

Tell us about JWT Decoder. The subject of your message will name this tool.