JWT Timestamp Converter
Find out when a JWT was issued, when it expires — and whether it's still valid right now.
| Claim | Value | Date (local) | Relative |
|---|
Create an expiry
● 🔒 Your data is processed locally in your browser with the Web Crypto API and is never uploaded to our servers.
How to read the dates in a JWT
- Paste a JWT (
eyJ…) or just the JSON claims, like{"iat": 1760000000, "exp": 1760086400}. - Each time claim is shown with its raw value, the date in your time zone and a relative time (“expires in 2 hours”, “expired 3 days ago”).
- To create an expiry, use Create an expiry: choose “expires in 15 minutes”, “7 days”… and copy the
iatandexpvalues.
The JWT time claims
| Claim | Name | Meaning |
|---|---|---|
iat | Issued at | When the token was created |
nbf | Not before | The token is not valid before this time |
exp | Expiration | The token is not valid from this time on |
All three are Unix timestamps in seconds (UTC). A token is valid when nbf ≤ now < exp. Example: "iat": 1760000000 is 9 October 2025, 08:53:20 UTC; with "exp": 1760086400, the token lives exactly 24 hours (86,400 seconds).
Typical lifetimes
- Access tokens: 5 to 60 minutes — short, so a stolen token is useless quickly.
- ID tokens (OpenID Connect): often 1 hour.
- Refresh tokens: days to months, stored more carefully and often rotated.
Common problems
- exp looks like the year 50000 — the value is in milliseconds instead of seconds, a frequent bug when using
Date.now()in JavaScript. Divide by 1000. - “Token expired” right after login — the server and client clocks differ. Servers usually accept a small clock skew (30–60 seconds).
- “Token not yet valid” —
nbforiatis in the future, again usually a clock problem.
Security reminder
The payload is only Base64URL-encoded: anyone can read it, and decoding it here does not verify the signature. Never trust a token's dates or claims until your server has verified the signature. Avoid pasting live production tokens into any website.
FAQ
How do I see the whole token?
Use the JWT Decoder to read the header, payload and signature.
How do I convert any Unix timestamp?
Use Unix Timestamp to Date, or Date to Unix Timestamp for the reverse.
Is my token uploaded?
No. It's decoded in your browser and never leaves your device.