JWT
Decode, analyze, and search JWT tokens with beautiful formatting
LLA JWT Plugin
JWT decoder and analyzer for lla with beautiful formatting, search capabilities, and validation.
Features
- Token Decoding: Beautiful formatted display of JWT header, payload, and signature
- Expiration Checking: Automatic expiration validation with time remaining
- Smart Search: Regex-powered search through JWT contents
- History Management: Store and manage decoded JWT tokens
- Multiple Input Methods: Paste, clipboard, or select from history
- Flexible Copying: Copy full token, header, payload, or specific claims
- Claim Highlighting: Automatically highlight important JWT claims
Configuration
Configuration file location: ~/.config/lla/plugins/jwt/config.toml
auto_check_expiration = true
save_to_history = true
max_history_size = 50
highlight_claims = ["sub", "iss", "aud", "exp", "iat", "nbf"]
[colors]
success = "bright_green"
info = "bright_cyan"
warning = "bright_yellow"
error = "bright_red"
header = "bright_blue"
payload = "bright_magenta"
claim = "bright_green"
expired = "bright_red"
valid = "bright_green"Usage
Decode a JWT token
lla plugin --name jwt --action decodeThis will:
- Prompt you to choose input method (paste, clipboard, or history)
- Display the decoded JWT with formatted header and payload
- Show expiration status if applicable
- Offer options to copy parts or save to history
Search within JWT tokens
lla plugin --name jwt --action searchSearch for specific claims or values within JWT tokens using regex patterns.
Manage token history
lla plugin --name jwt --action historyView, copy, or remove previously decoded JWT tokens from history.
Configure preferences
lla plugin --name jwt --action preferencesAdjust settings:
- Toggle auto-check expiration
- Toggle save to history
- Set max history size
- Manage highlighted claims
Display help
lla plugin --name jwt --action helpDisplay Examples
Token Display
═══════════════════════════════════════════════════════════════════════════════
🔐 JWT TOKEN DETAILS
═══════════════════════════════════════════════════════════════════════════════
┌─ HEADER ─────────────────────────────────────────────────────────────┐
{
alg: "HS256",
typ: "JWT"
}
└──────────────────────────────────────────────────────────────────────┘
┌─ PAYLOAD ────────────────────────────────────────────────────────────┐
{
sub: "1234567890",
name: "John Doe",
iat: 1516239022,
exp: 1735689600
}
└──────────────────────────────────────────────────────────────────────┘
✅ Expires in 45 days
┌─ SIGNATURE ──────────────────────────────────────────────────────────┐
SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
└──────────────────────────────────────────────────────────────────────┘Search Results
═══════════════════════════════════════════════════════════════════════════════
🔍 Found 3 matches for 'user'
═══════════════════════════════════════════════════════════════════════════════
► payload » userId
"12345"
► payload » username
"john.doe"
► payload » user_role
"admin"Actions
decode- Decode and view JWT token detailssearch- Search JWT contents with regex supporthistory- Manage JWT token historypreferences- Configure plugin settingshelp- Show help information