JWT Decoder

Paste a JSON Web Token to read its header, payload and claims β€” decoded locally, with the dates made readable.

Decoding a JWT does not verify its signature. Anything shown here is only what the token claims. Never trust it until your server has verified the signature with the right key.

πŸ”’ Your data is processed locally in your browser and is never uploaded to our servers.

How to decode a JWT

  1. Paste the token β€” it starts with eyJ and has two dots.
  2. Click Decode. The header and payload appear as formatted JSON, the signature as it is in the token.
  3. Time claims (iat, nbf, exp) are shown as readable dates.

What's inside a JWT?

A JWT is three Base64URL parts separated by dots: header.payload.signature.

PartContainsExample
HeaderSigning algorithm and token type{"alg": "HS256", "typ": "JWT"}
PayloadThe claims: who, for what, until when{"sub": "1234", "name": "Alex", "exp": 1760086400}
SignatureProof the token wasn't modifiedBinary, Base64URL-encoded

Common claims

Decoding is not verifying

The payload of a normal JWT is not secret: anyone holding the token can read it, as this tool shows. Only the signature proves who issued the token, and that check must be done by your server with the right key (an HMAC secret for HS256, a public key for RS256 or ES256). So:

Common errors

FAQ

Is my token stored or uploaded?

No. It's decoded in your browser. Still, avoid pasting live production tokens anywhere: a leaked token can be used until it expires.

How do I check if a token is expired?

Use the JWT Timestamp Converter, which shows the time left before exp.

How do I create a secret for HS256?

Use the Secret Key Generator (JWT HS256 secret, 256 bits).