jsonecho

JWT Decoder

Paste a JSON Web Token and read what is inside, including when it expires.

Loading the tool...

How to use JWT Decoder

  1. Paste the token. A "Bearer " prefix is fine.
  2. Read the header and payload.
  3. Check the expiry line to see if the token is still valid.

About JWT Decoder

A JSON Web Token has three parts separated by dots: a header, a payload and a signature. The first two are JSON written in Base64URL, so anyone holding the token can read them. This tool decodes them and shows the dates in the exp, iat and nbf claims in plain form.

It does not check the signature, because that needs the secret or the public key. A decoded token tells you what it says, not whether it can be trusted. Everything stays in your browser.

Frequently asked questions

Is it safe to paste a real token here?

The token is decoded in your browser and is not sent to any server. Still, treat live tokens like passwords and prefer expired or test tokens.

Does this verify the signature?

No. Verifying needs the key, and should happen on your server, never only in the browser.

What do exp, iat and nbf mean?

exp is the expiry time, iat is when the token was issued, and nbf is the time before which it must not be accepted. All are Unix timestamps in seconds.

More in URL and Base64

All tools →