Skip to content
dashutils

JWT Decoder

Paste a JSON Web Token to see its header and payload, with timestamps like exp and iat converted to readable dates and a clear expired or valid indicator.

  • Free, no sign-up
  • Runs locally in your browser
Loading tool…

Your files are processed on this device and are never uploaded to a server.

How to use the JWT Decoder

  1. 1

    Paste a JWT.

  2. 2

    Read the decoded header, payload and expiry.

Decoding is not verifying

Anyone can decode a JWT; the payload is only Base64URL-encoded. Decoding does not prove the token is authentic. Signature verification requires the secret or public key on your server.

The three parts of a JWT

A JSON Web Token is three Base64URL strings joined by dots. The header names the signing algorithm (alg) and token type. The payload carries the claims: sub (the user), iss (who issued it), aud (who it's for), and times such as iat (issued at), nbf (not before) and exp (expires), written as Unix timestamps. The signature proves the first two parts weren't changed by anyone without the key.

Debugging login problems

If an API rejects a token, check exp first: an expired token is the most common cause, and this decoder shows how long ago it expired. Then check aud and iss match what the server expects, and that the clock on the issuing server isn't far off, since nbf in the future makes a token invalid until that time.

Frequently asked questions

Is my data sent to a server?

No. Everything runs in your browser as you type. Nothing is uploaded or logged, so it is safe to paste API responses, tokens and private text.

Is it safe to paste a real token?

Here, yes: decoding happens in your browser and the token isn't sent anywhere. Avoid pasting live tokens into tools that run on a server, because a token can be used to act as you until it expires.

Can this check the signature?

No. Verifying needs the secret (for HS256) or the issuer's public key (for RS256 and ES256). Do that on your server with a JWT library.

Why can anyone read my token's payload?

JWTs are signed, not encrypted. Don't put secrets in the payload; use an encrypted JWE if the contents must be hidden.

Something not working, or missing a setting you need? Report a problem or request a tool.