JWT Decoder

Decode a JSON Web Token to read its header, claims and expiry time.

Decoding only reads the token – it does not check the signature. Never trust a token's claims on a server without verifying it with the secret or public key. Tokens are decoded in your browser and never sent anywhere.

How to use JWT Decoder

  1. Paste the JWT into the box (the "Bearer " prefix is removed automatically).
  2. Read the decoded header and payload claims.
  3. Check the times table to see when the token was issued and when it expires.

About this tool

JSON Web Tokens (JWTs) carry login sessions and API permissions as three Base64URL-encoded parts: a header, a payload of claims and a signature. When a request fails with 401 Unauthorized, the first step is to look inside the token – this JWT decoder does that instantly.

Paste a token (with or without the "Bearer" prefix) to see the header and payload as formatted JSON, the signing algorithm, and the issued-at, not-before and expiry times as readable dates with how long ago or how soon they are. The JWT decoder tells you straight away if the token has expired or is not valid yet. Decoding happens entirely in your browser, so the token is never sent to us – still, treat production tokens like passwords.

Frequently asked questions

No. It only decodes the token, which anyone can do – the payload is not encrypted. Your server must verify the signature with the secret or public key before trusting any claim.

They are standard claims in Unix time: iat is when the token was issued, nbf is the time before which it must not be accepted, and exp is when it expires.

Its exp time is in the past according to your device clock. Request a new token, or check that your server and device clocks are correct.

The token is decoded in your browser and never uploaded. A valid token still grants access until it expires, so avoid sharing live tokens anywhere public.