JWT exp Claim Debug Example

JWT exp values are usually Unix timestamps in seconds. Decode and convert them before debugging auth code.

Payload example
{
  "sub": "123",
  "iss": "https://auth.example.com",
  "aud": "api",
  "iat": 1715947200,
  "exp": 1893456000
}

How to use this example

  1. Decode the JWT header and payload.
  2. Convert exp, iat and nbf to UTC.
  3. Verify signature and expected claims on the server.

Notes

  • Decoded payload is not proof of trust.
  • Do not use JavaScript milliseconds where JWT expects seconds.

Related tools and fixes

Last updated: May 18, 2026