JWT Decoder

Decode a JSON Web Token to read its header and payload, with expiry checked against the current time. Signature is not verified.

3Segments
HS256Algorithm
no expExpiry

Decoding happens entirely in your browser. The token is never transmitted — which matters, because a live token is a credential.

What the JWT Decoder does

The JWT decoder on this page will decode a JSON Web Token to read its header and payload, with expiry checked against the current time. Signature is not verified. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for checking why an API is rejecting a token. If you want to cross-check the result, there is another JWT decoder on FreeToolsWorld.org.

How to use it

  1. Paste the complete token, including both dots.
  2. The header and payload are decoded and the standard claims interpreted.
  3. Expiry is checked against your device clock.
  4. Never paste a production token into a tool that sends it to a server.

How it works

A JWT has three Base64url-encoded segments separated by dots: a header naming the signing algorithm, a payload of claims, and a signature. The first two are merely encoded, not encrypted — anyone holding the token can read them, which is why a JWT payload should never contain secrets.

This tool does not verify the signature, deliberately. Verification requires the signing key, and pasting a production signing key into any web page is a serious mistake regardless of how the page promises to handle it. Verify signatures in your own backend where the key already lives.

The standard claims are interpreted against your device clock: exp is expiry, nbf is not-before, iat is issued-at. A token that appears expired when your server thinks otherwise usually means clock skew between the two machines.

When to use it

  • Checking why an API is rejecting a token.
  • Reading the claims an identity provider is issuing.
  • Confirming a token's expiry time during debugging.

Common mistakes to avoid

  • Assuming a decoded JWT is verified — decoding proves nothing about authenticity.
  • Storing sensitive data in the payload, which is readable by anyone holding the token.
  • Pasting a live production token into an online tool that transmits it.

Frequently asked questions

Does this verify the signature?

No, and that is deliberate. Verification needs the signing key, which must never be pasted into a web page. Verify in your backend, where the key is already held securely.

Is the payload encrypted?

No. It is Base64url-encoded, which is reversible by anyone. Never put passwords, keys or sensitive personal data in a JWT payload.

Why does my token look expired when the server accepts it?

Clock skew. The expiry is checked against your device clock here; if your machine is a few minutes out, the verdict differs from the server's.

Related tools

See all developer tools →