Skip to content

JWT Expiry Checker

Runs in your browser

Turns exp, iat and nbf into real dates in your time zone, and counts down while you watch.

Verdict

Paste a token to see when it expires

How this one works

JWT times are NumericDate values: whole seconds since 1 January 1970 UTC. This page reads iat, nbf and exp from the payload, shows each in your local time and in UTC, and re-evaluates every second.

The verdict follows the order a server checks in: a token before its nbf is not yet valid, one at or after its exp is expired, and one with no exp never expires on its own.

Questions

Why does my server say expired when this says valid?
Usually clock skew. Servers often allow a small leeway, but if the server clock runs ahead of yours a token can be rejected slightly early. Your browser’s clock is what this page uses.
The exp looks like a huge number — is it in milliseconds?
It should be seconds. If a date shows up tens of thousands of years in the future, the issuer wrote milliseconds, which most libraries will treat as a token that effectively never expires.
Can I extend a token’s expiry?
Not without re-signing it. Changing exp changes the payload, which breaks the signature. Ask the issuer for a fresh token, or use the JWT Generator to mint a test one with your own secret.

Keyboard shortcuts

Global

  • Show this shortcuts dialogShift?
  • Toggle light / dark themeCtrlShiftL
  • Close dialogsEsc

Formatter & Validator

  • Format JSONCtrlEnter
  • Minify JSONCtrlShiftM
  • Copy outputCtrlShiftC
  • Download output as .jsonCtrlShiftS
  • Clear input and outputCtrlShiftX

Tree Viewer

  • Focus the search box/
  • Expand all nodesCtrlShiftE
  • Collapse all nodesCtrlShiftR

Diff

  • Swap document A and BCtrlShiftS

JSON tools

JSON FormatterPretty-print or minify
JSON ValidatorCheck strict JSON validity
JSON Tree ViewerBrowse JSON as a tree
JSON DiffCompare two documents
JSON Path FinderExplore JSONPath expressions
JSON → CSVFlatten JSON into rows
CSV → JSONTurn rows back into objects

JWT tools

JWT DecoderRead header, payload, claims
JWT VerifierCheck an HMAC signature
JWT Expiry Checkeriat, nbf and exp in local time
JWT GeneratorBuild a signed test token
Base64URL EncoderEncode or decode a segment

Code formatters

SQL FormatterBeautify or minify SQL
HTML FormatterBeautify or minify HTML
CSS FormatterBeautify or minify CSS
JavaScript FormatterBeautify or minify JS
Markdown to HTMLConvert with a live preview

Pages

JSON toolsFormat, validate, compare and convert JSON.
JWT toolsDecode, verify and generate JSON Web Tokens.
Code formattersBeautify and minify SQL, HTML, CSS and JavaScript.
HomePopular tools and categories
All categoriesBrowse tools by category
AboutWhat ToolJar is and why
PrivacyWhat is and is not collected

Theme

Switch to light theme
Switch to dark theme