JWT Decoder

中

Loading...

JWT Decoder — Inspect Token Header, Payload and Expiry

Paste a JSON Web Token and instantly see its decoded header and payload as formatted JSON, with signature visibility and the expiration claim (exp) checked against the current time so you know whether the token is still valid.

Essential for debugging OAuth flows, API 401s, and SSO sessions: see which algorithm a token signs with, which claims it carries, and how long it has left — all decoded locally in your browser. Tokens often carry user identifiers and scopes; here they never leave your device.

How to decode a JWT

  1. Paste the JWT (three base64url parts separated by dots).
  2. Read the header: typically the algorithm (alg) and type (typ).
  3. Read the payload: claims like sub, iat, and exp in plain JSON.
  4. Check the expiry readout to see if the token is still valid.

Frequently asked questions

Can this tool verify a JWT's signature?

It decodes and inspects; signature verification requires the secret or public key, which only your auth server should hold. Use it to read claims and check expiry — trust decisions still belong to your backend.

Is pasting a JWT here safe?

Decoding is pure client-side base64 parsing — the token never leaves your browser. That said, treat tokens like short-lived passwords: prefer decoding test tokens, and rotate anything sensitive you have pasted into untrusted tools.

What are the standard claims I should know?

sub (subject/user id), exp (expires at), iat (issued at), iss (issuer), aud (audience), and scope/roles for permissions. Most "401 Unauthorized" debugging ends at an expired exp.

Why is the payload readable if JWTs are "secure"?

JWTs are signed, not encrypted — anyone can read the claims; what they cannot do is change them without invalidating the signature. Never put secrets in a JWT payload.

Related tools

PureKit · jwt · Free online tool — files processed locally in your browser, no upload.