Nifty / Tools / Encode & decode

JWT Decoder

Paste a JSON Web Token to read its header and claims. Timestamps like exp and iat are shown as dates.

jwt-decoder
JWTDrop a file here
Header and payload
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the JWT Decoder

  1. Paste the token on the left. A leading Bearer is removed for you.
  2. Read the header and payload on the right. The status line says whether the token has expired.
  3. Copy the JSON if you need it.

Questions

Is it safe to paste a real token?

Yes. The token is decoded by JavaScript in this page. It isn't sent to a server, logged or stored.

Does it verify the signature?

No. It only decodes. Verifying needs the secret or public key, which belongs on your server, not in a web page.

Can I decode JWTs in VS Code?

Yes. Nifty Text's Decode JWT command decodes the selected token.

Related tools