JWT Decoder

Decode a JWT or JSON Web Token without leaving this page. Paste the token to read the header and payload locally. This JWT decoder shows the claims; it does not verify the signature.

Nothing leaves your browser on this page.

No analytics, ads, or third-party scripts. Processing stays on your device. Tip: open DevTools → Network while you work — you should see no request carrying your paste.

What is JWT Decoder?

A JWT is three Base64url parts separated by dots: header, payload, and signature. Decoding reads the first two parts so you can see the algorithm name and the claims, including exp and sub.

Anyone can decode a token. A readable payload is not proof the signature is valid, that the token has not expired, or that it was issued by your server. Keep signature checks on the server that holds the secret or public key. The payload is JSON. Indent those claims with the JSON formatter when a single line is hard to read.

How to use it

  1. Paste a JWT token with three dot-separated parts.
  2. Read the decoded header and payload.
  3. Check claims such as exp, sub, and the alg named in the header.
  4. Copy either section if you need it. The token stays on this device.

Useful for

  • Decode a JWT token while debugging login
  • Read exp and sub claims before they expire
  • Inspect a bearer token without sending it to another website

Example

A JWT looks like header.payload.signature. Paste the whole string to decode the first two parts. The signature stays encoded because this tool does not verify it.

Common mistakes

  • A decoded payload is not proof the token is valid. Signature checks still belong on your server.
  • Expired tokens still decode. Look at the exp claim before you trust the session.
  • Do not paste production secrets or refresh tokens into a site you do not control. This page keeps the token in the browser.

Related tools

Questions about JWT Decoder

How do I decode a JWT token? +

Paste the full token (three parts separated by dots) and read the header and payload. Decoding runs in your browser.

Can this verify my JWT signature? +

No. This page only decodes the token so you can read the claims. Signature checks still need your secret or public key on your server.

Is the token sent to a server? +

No. JWT decode uses base64url parsing on this device. Nothing you paste is uploaded.

Does decode mean the token is valid? +

No. Anyone can read a JWT payload. A decoded token is not proof that the signature is valid or that the token has not expired.

How do I read the exp claim? +

Look in the decoded payload for exp. It is a Unix timestamp in seconds. Compare it with the current time before you treat the session as active.

What are the three parts of a JWT? +

Header, payload, and signature, separated by dots. This page decodes the header and payload. The signature stays encoded.