JWT Decoder

Decode a JSON Web Token in your browser: see header, payload, issued and expiry times. Does not verify the signature. Free and private.

About JWT Decoder

The JWT Decoder splits a JSON Web Token into its header, payload and signature, and shows the claims in readable form, including when it was issued and when it expires.

Paste the whole header

Tokens that start with 'Bearer ' are decoded too, so you can paste straight from an Authorization header.

Decoding is not verifying

This tool does not check the signature, so never trust a token just because it decodes. Use the JWT Signature Verifier for that.

Good for

Debugging login problems, checking why a token expired and learning how JWTs work.

Not included

Issuer and audience checks, key fetching and encrypted tokens (JWE).

Private

The token is decoded in your browser and not sent anywhere. Still, treat live tokens like passwords.

Common claims

iss is who issued the token, sub who it is about, aud who it is meant for, exp when it expires, iat when it was issued and nbf the earliest time it is valid. Times are seconds since 1 January 1970 (UTC).

Signing algorithms

HS256 uses one shared secret to sign and to check. RS256 and ES256 sign with a private key and are checked with a public key, so the checking side never holds the signing secret.

How to use JWT Decoder

  1. Paste your JWT into the box.
  2. Read the header, payload and the issued and expiry times.
  3. Check whether the token is expired.
  4. Remember the signature is not verified.

Help & FAQ

What does the JWT Decoder do?

It decodes the header and payload of a JSON Web Token and shows the times in readable form.

Does it verify the signature?

No. The page says it only decodes and that you must never treat a decoded token as trusted.

Can anyone read a JWT payload?

Yes. The header and payload are encoded, not encrypted, so do not put secrets in them.

How does it show expiry?

It reads the exp claim and shows the date, and says Expired or Not expired.

What are iat and exp?

iat is when the token was issued and exp is when it expires, both in seconds since 1970. The tool converts them to dates.

Can we paste a token with Bearer in front?

Yes. In the test a token starting with Bearer was decoded.

What if our token has two parts?

The page shows A JWT has three parts separated by dots. This has 2.

Does it support alg none tokens?

It decodes them. The test token with alg none and an empty signature was decoded and its expiry shown.

Is our token uploaded?

In the test no request carried the token; only the site's analytics calls were made. Still, avoid pasting live production tokens anywhere.

Can it decrypt an encrypted JWT?

No. It decodes standard signed tokens only.

How can we check the signature?

Use the JWT Signature Verifier for HMAC tokens, or verify in your server code with the correct key.

Which time zone are the dates in?

The ISO times are UTC and the expiry line uses your device's local time.

More in Developer Tools

See all 39 in Developer Tools