JWT Decoder

Decode JSON Web Tokens to see the header, payload and expiry dates instantly. Private: your token is decoded in your browser and never uploaded.

Encoded JWT
Payload
Header

            

What is a JWT?

A JSON Web Token (JWT, RFC 7519) is a compact, URL-safe token made of three Base64URL parts separated by dots: a header (algorithm and type), a payload (claims such as sub, exp and iat) and a signature. JWTs are widely used for API authentication and single sign-on.

How to decode a JWT

  1. Paste the token, with or without the Bearer prefix.
  2. The header and payload are decoded instantly and shown as formatted JSON.
  3. Time claims (iat, nbf, exp) are converted to readable dates, and expired tokens are flagged.

Privacy: decoding happens in your browser, and your token is never sent to a server. This tool does not verify signatures, so never trust a token's claims without verifying it on your server.

Frequently asked questions

Is a JWT encrypted?

No. A standard signed JWT (JWS) is only Base64URL-encoded, so anyone can read the payload. Never put secrets in it. Encrypted tokens use JWE.

What does the exp claim mean?

exp is the expiry time as a Unix timestamp in seconds. After that moment the token must be rejected.

Why does my token fail to decode?

Make sure you copied all three parts and that no characters were added or cut off. Tokens must contain at least two dot-separated parts.

Related tools