JWT Decoder

Read the Contents of a JSON Web Token.

Loading…

A JWT looks like random characters, but two of its three parts are just Base64-encoded JSON. Anyone holding the token can read them. Decoding shows which user it's for, which permissions it carries and when it runs out.

Paste a token and the header and payload appear as formatted JSON. Timestamps such as iat and exp are shown as dates, with a note if the token has expired. This is safe to do with real tokens here, because nothing is sent anywhere.

How to use the JWT Decoder tool

  1. Paste the token.
  2. Read the header and the payload.
  3. Check the expiry and the claims.
  • Debugging a login that fails or expires too soon
  • Checking which roles and scopes an API token carries
  • Learning how JWTs are put together

Tips for the best result

  • A leading "Bearer " copied from a request header is ignored.
  • Never put secrets in a JWT payload. As this page shows, anyone can read it.

Quick facts

PriceFree
Works withJWT
Where it runsIn your browser, on your device
AccountNot needed

Frequently asked questions

Does this verify the signature?

No. It decodes only. Verification needs the secret or the public key and belongs on your server.

Is it safe to paste a production token?

The token stays in your browser. Even so, treat live tokens like passwords and avoid pasting them into sites you do not trust.

Why can I read the token without a key?

A standard JWT is signed, not encrypted. The signature proves who issued it and hides nothing.

What is a five-part token?

An encrypted token (JWE). Its payload cannot be read without the key.