JWT registered time claims

Registered time claims are numeric Unix timestamps, in seconds. This desk looks for iat, nbf, exp, and auth_time, then shows the UTC ISO time and this browser’s local time. The expiration badge updates once a second.

The badge is Valid when the current time is at or after nbf (if present) and before exp. It is Expired when the current time is at or after exp, and Not yet valid when it is still before nbf. A token without exp can still be decoded; the badge then notes that there is no exp claim.

iat — issued at

iat is the time the token was issued. This desk displays it; it does not reject a token only because iat is in the future or the past.

nbf — not before

nbf is the earliest time the token should be treated as valid. If nbf is still in the future, the badge is Not yet valid, even if exp is also in the future.

exp — expiration

exp is the latest time the token should be treated as valid. The live countdown counts down to exp, or counts up from it after expiry.

auth_time

auth_time, when present, is shown the same way as the other time claims. It is not used to override the Valid / Expired / Not yet valid badge.

Back to the debugger

Questions

Does the countdown use my time zone?

Yes for the local line under each claim. The ISO line is always UTC. The Valid / Expired / Not yet valid state compares Unix seconds to the clock in this browser.

What if a claim is not a number?

The row still appears, but the desk will not treat that value as a timestamp.