JWT exp Timestamp Converter
Decode JWT time claims such as exp, iat, and nbf so you can understand when a token was issued and when it expires.
JWT Time Claims
| Key / Code | Description |
|---|---|
| exp | Expiration time. The token should not be accepted after this Unix timestamp. |
| iat | Issued at. When the token was created. |
| nbf | Not before. The token should not be accepted before this time. |
Example
JWT payload:
{
"sub": "user_123",
"exp": 1719830400,
"iat": 1719826800
}
Read as:
exp and iat are Unix timestamps in seconds, not milliseconds.Common Mistake
JWT timestamps are normally seconds since Unix epoch. JavaScript Date expects milliseconds, so multiply by 1000 before creating a Date.
Related
Knowledge is power.