Skip to main content

Free tool by GoodAI Life

JWT Decoder

Paste a JSON Web Token to inspect its header and payload as formatted JSON and see its time claims as dates in your language. Decoding happens only in your browser.

The signature is NOT verified. Decoding does not prove that the token is genuine.

Paste a JWT to decode it.

What is inside a JWT

A JWT has three Base64URL parts separated by dots: a header describing the algorithm, a payload carrying the claims, and a signature.

The header and payload are only encoded, not encrypted, so anyone holding the token can read them. Do not put secrets in a JWT.

Time claims

  • exp is the expiration time, after which the token must be rejected
  • iat is the time the token was issued
  • nbf means not before: the token is not valid until that time

These values are Unix timestamps in seconds. The decoder shows them as readable local dates and tells you whether the token is expired.

Decoding is not verifying

This tool does not check the signature, so a decoded token is not proof that it is genuine or untampered.

Always verify the signature on your server with the correct key before you trust any claim.

Frequently asked questions

Is it safe to paste my token here?+

The token is decoded entirely in your browser and never sent anywhere. Even so, avoid pasting live production tokens into any tool you do not control.

Does this verify the signature?+

No. It only decodes the header and payload. Signature verification needs the secret or public key and must be done on your server.

Why does it say the token is invalid?+

A JWT needs two or three parts separated by dots, and the first two must be Base64URL-encoded JSON. A truncated or edited token fails to decode.

Related tools

Looking for AI tools with demo videos?

Browse GoodAI Life