EzyTools

JWT Decoder

Decode a JSON Web Token and read its header, payload and expiry.

Loading…

Runs entirely in your browser. Nothing you enter is uploaded or stored on a server.

About this tool

A JWT is encoded, not encrypted, so anyone holding it can read its contents. This tool splits it into header, payload and signature and turns the exp and iat fields into dates instead of raw numbers. Because a token is a live session key, the decoding happens in your page and never leaves your device.

How to use

  1. 1Paste the token.
  2. 2Read the decoded header and payload.
  3. 3Check the expiry and whether it has passed.

When you need it

  • Diagnosing why a server rejected a token: expired, or missing a claim?
  • Reading the user id and permissions inside a token while developing.
  • Confirming which algorithm the header declares.

Frequently asked questions

Does it verify the signature?

No. Verification needs the secret key, which is never shared. This tool decodes and displays only — verification belongs on the server.

Is it safe to paste a real token?

Decoding happens entirely in your page and nothing is sent anywhere; you can disconnect and it still works. Even so, a test token is always the safer habit.

What do exp, iat and nbf mean?

iat is when the token was issued, exp when it expires and nbf the earliest time it becomes valid. All are timestamps in seconds, shown here as dates.

Related tools