JWT Expiry Checker
The JWT toolkit that actually tells you what's happening. Paste a token, get a human answer.
Invalid JWT
155 chars ยท 3 segments
Invalid JWT format. Please ensure you have copied the full token.
How to check JWT expiry in Code
Copy-paste snippets for your tech stack
const jwt = require('jsonwebtoken');
// 1. Decode token without verifying
const decoded = jwt.decode(token);
// 2. Check if expired
const now = Math.floor(Date.now() / 1000);
if (decoded.exp < now) {
console.log('Token is expired!');
} else {
console.log('Token is valid.');
}