Skip to content
Jellykit

JWT Expiry Checker

Check whether a JSON Web Token has expired or is not valid yet, and see exactly when it was issued and when it runs out.

  • Runs on your device
Loading tool

About JWT Expiry Checker

When an API starts answering 401, the first question is usually whether the token is simply out of date. Paste the token and the verdict comes first: expired, not valid yet, valid for a stated time, or carrying no expiry at all. The exp, nbf and iat claims are shown as readable dates beside their raw numbers, with how long ago or how far ahead each one is.

The check uses this device’s clock. A token with no signature (algorithm none) is flagged, because anyone could have written it. The token is read in this tab only and is not sent or kept.

How it works

  1. A JWT is three Base64URL sections separated by dots: header, payload and signature.
  2. The header and payload are decoded and parsed as JSON, then shown formatted.
  3. Registered time claims are compared with your device clock to report whether the token is currently valid.
  4. The signature is displayed but not verified, because verification needs the issuer’s secret or public key.

Questions

My server rejects a token this page calls valid. Why?

Expiry is only one check. The server also verifies the signature, the issuer and the audience, and it uses its own clock. This page does not verify signatures, because that needs the issuer’s key.

What if the token has no exp claim?

It is reported as having no expiry. That is allowed by the standard, but such a token stays usable until its key is rotated or the server revokes it, so treat it with extra care.

Does it account for clock skew?

No allowance is added. Times are compared with this device’s clock exactly. Many servers accept a token for a minute or two past exp to tolerate skew, so a token that has only just expired may still work.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.