JWT Lens: Token Decoder, Inspector & Expiry Checker Pro 🔑
Inline JWT token detector, hover decoder, real-time expiration countdown, payload claims inspector, and expired token security alerts directly in VS Code.
✨ Features
🔍 Inline Hover Decoder: Hover over any JWT token in .env, .http, .rest, .js, .ts, .py, .json, or terminal logs to inspect its algorithm, claims, and status.
⏱️ Real-Time Expiration Countdown: Immediately identifies whether a token is 🟢 ACTIVE or 🔴 EXPIRED with humanized relative timestamps (Expires in 4 hours 12 mins or Expired 2 days ago).
🎨 Color-Coded Inspector Studio: Dual-pane inspection studio separating Header (red), Payload (purple), and Signature (cyan).
📋 1-Click Formatted Copy: Copy clean, indented JSON payloads or headers with a single click.
🔒 100% Offline & Secure: All parsing and base64url decoding happens locally in memory. Zero external network calls or leaks of sensitive credentials.
🛠️ Usage
1. Hover over any JWT
Move your cursor over any eyJ... token in any open file. JWT Lens displays the decoded claims card with validity status.
2. Open Token Studio
Right-click on a token and select "JWT Lens: Decode Token at Cursor" or run JWT Lens: Open Token Inspector Studio from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
⚙️ Configuration
Setting
Type
Default
Description
jwtlens.enableHover
boolean
true
Show interactive JWT cards when hovering over tokens.