Skip to content
Chethan Yadav_

$ 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

alg: HS256Valid SignatureExpired 18d ago
Presets:

Paste a compact JWS or Bearer string

Structure (3 parts)
Header (62B)Payload (266B)Signature (43B)

Signature Verification

HMAC evaluated via Web Crypto Subtle

Evaluating HMAC signature locally...

Size: 368 bitsRFC 7518: ≥ 256 bits
{
"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
}
100% Client-Side Evaluation: Evaluated locally via Web Crypto API. Tokens and secrets never leave your browser tab.
Zero-Server Privacy Architecture

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.

Key Confusion & Heuristic Audits

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.

Reference & FAQs

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.

All Tools