JWT Token Decoder

Paste a JSON Web Token to decode its header and payload, read its claims, and see when it was issued and when it expires. Decoding happens in your browser.

  • Free, no signup
  • Runs in your browser
  • Reviewed October 14, 2026

How to use the JWT Token Decoder

  1. Paste a JWT. It has three parts separated by dots.
  2. Read the decoded header, which names the signing algorithm, and the payload, which holds the claims.
  3. Check the expiry status, calculated from the exp claim against your device's clock.
  4. Copy the header or payload as formatted JSON.

How it works

A JWT (RFC 7519) is header.payload.signature, each part encoded with Base64URL. Decoding the first two parts reveals JSON; the third is a signature over them.

Time claims such as exp (expires), iat (issued at), and nbf (not before) are Unix timestamps in seconds and are shown as dates in your time zone.

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9   → {"alg":"HS256","typ":"JWT"}
Expires at = new Date(exp × 1000)

Worked example: reading an access token

A token with the payload {"sub": "usr_9a12", "role": "admin", "iat": 1704067200, "exp": 1924988800} was issued at 00:00 UTC on 1 January 2024 and expires at 23:06:40 UTC on 31 December 2030.

The header {"alg": "HS256"} shows it is signed with HMAC SHA-256, which means the server checks it with a shared secret.

Limitations

  • This tool decodes tokens; it does not verify signatures. Anyone can create a token with any payload, so never trust a token's claims without verifying its signature on your server.
  • Encrypted tokens (JWE, five dot-separated parts) cannot be read without the key.
  • Treat real production tokens as passwords. Although decoding here is local, avoid pasting live tokens into any online tool when you can use a test token instead.

Frequently asked questions

Is a JWT encrypted?

Usually not. A standard signed JWT is only Base64URL-encoded, so anyone with the token can read its contents. Do not put secrets in the payload.

How do I verify a JWT signature?

On your server, with a maintained JWT library and the correct secret or public key, checking the algorithm, expiry, issuer, and audience.

Why is my token shown as expired?

Its exp time is in the past according to your device's clock. If the clock is wrong, the status will be too.

What are sub, iat, and exp?

Registered claims: sub is the subject (usually a user ID), iat is when the token was issued, and exp is when it expires.

Related guides

Suggestions welcome

Need a tool that is not here yet?

Tell us what you are trying to do. Requests and bug reports shape what we build next.

Suggest a tool