← All tools

JWT decoder

Paste a JWT and read its header and payload. Your token never leaves this computer.

Action

What is a JWT?

A JWT (JSON Web Token) is a three-part string separated by dots that carries who a user is and what they may do: a header, a payload and a signature. Many web and mobile apps give you a JWT when you sign in; it is sent with every later request, and the server recognises you by checking the signature.

The header and payload are Base64 URL encoded JSON, not encrypted. Anyone holding the token can read its contents, so passwords and secrets should never go inside.

The fields in the payload

sub identifies the user, iss the system that issued the token and aud the application it is meant for. iat is when the token was issued, exp when it expires and nbf when it becomes valid; these are written as Unix timestamps. The tool turns them into readable dates and shows whether the token has expired. The answer to "why was I logged out?" is often in the exp field.

Security notes

This tool only reads the token; it does not verify the signature, so it cannot prove a token is genuine and unmodified. Signature checks must always happen on the server, with the secret key.

The token is decoded in your browser and never sent to a server. Even so, valid tokens from live systems are as valuable as passwords; do not share them in screenshots, chats or error logs.

How to use it

  1. Paste the JWT into the box (three parts separated by dots, starting with eyJ…).
  2. The header and payload appear formatted. The exp, iat and nbf times are turned into readable dates.
  3. Copy the result.

Frequently asked questions

Does this tool verify the signature?

No. It only reads the contents. It does not prove that a token is genuine.

Is it safe to paste my token?

The token is decoded in your browser and never sent to a server. Still, avoid sharing valid tokens from live systems anywhere.

How can I tell if it has expired?

If exp is before the current time the result says expired. If nbf is in the future it says not valid yet.

Related guide

Related tools