$ cd ~/tools/jwt
JWT Inspector
Decode JOSE headers and claims, audit relative lifetimes, verify HMAC signatures, and detect cryptographic misconfigurations, evaluated 100% locally in your browser via Web Crypto.
Client-Side Only/RFC 7519 / 7515/Web Crypto
Paste a compact JWS or Bearer string
Signature Verification
HMAC evaluated via Web Crypto Subtle
Evaluating HMAC signature locally...
{"iss": "chethan.xyz",// Issuer"sub": "usr_94a8c2f1",// Subject"aud": "api.chethan.xyz",// Audience"role": "security_engineer",// Subject Authorization Role"scope": "read:tokens write:audit",// OAuth 2.0 Scopes"iat": 1794336210,// Issued AtIssued 18d ago"nbf": 1794336210,// Not BeforeActive (18d ago)"exp": 1794339810,// Expiration TimeExpired 18d ago"jti": "jwt_7f92d10a"// JWT ID}{"alg": "HS256",// Cryptographic Algorithm"typ": "JWT",// Token Media Type"kid": "hf-2026-01"// Key Identifier}Timestamp Lifetimes (exp / nbf / iat)
Cryptographic & Heuristic Checks
No Heuristic Security Warnings Triggered
Algorithm declaration, key confusion checks, secret entropy, and token lifetime claims passed static validation.
Standard online JWT tools often send token payloads and verification secrets across remote endpoints where they risk being retained in CDN logs or proxy caches. This utility executes all decoding and window.crypto.subtle operations inside this browser tab. You can disconnect your network connection entirely and inspect tokens offline.
Tokens are checked against classical vulnerabilities: algorithm confusion (CVE-2015-9235), where asymmetric public keys are used to verify HMAC tokens; unsecured declarations (RFC 7519 §6 alg: none); weak HMAC secrets matched against high-frequency brute-force dictionaries; and anomalous lifetime spans.
Frequently Asked Questions
Does this JWT inspector transmit tokens or secrets to a server?
No. All parsing, base64url decoding, relative timestamp comparisons, and HMAC signature verifications run 100% locally in your browser memory using the native Web Crypto API (window.crypto.subtle). Zero network requests are made, ensuring sensitive bearer tokens and secrets remain confidential.
Why is client-side Web Crypto verification safer for debugging?
Traditional online decoders often proxy verification through remote servers or log incoming request bodies. Pasting production authorization tokens into third-party servers introduces compliance and credential leakage risks. In-browser evaluation guarantees that your cryptographic keys and claims never leave your device.
What security misconfigurations does this inspector audit?
The static heuristic engine audits against common JWT pitfalls: unsecured tokens using alg: none (RFC 7519 §6), asymmetric-to-symmetric key confusion (CVE-2015-9235), dictionary-based weak HMAC secrets, sub-optimal secret entropy below RFC 7518 §3.2 minimums, filesystem traversal or injection in kid, and missing or excessively long token lifetimes.
Which cryptographic signature algorithms can be verified?
Symmetric HMAC algorithms HS256 (SHA-256), HS384 (SHA-384), and HS512 (SHA-512) are verified directly in your browser using window.crypto.subtle.verify with both UTF-8 and Base64URL key input formats.
Developer Tools Directory
Browse all privacy-first, client-side engineering and security utilities.