JWT Intelligence & Security Debugging Studio
Decode claims, inspect expiry, compare token revisions and optionally verify a JWS with an explicitly supplied key. Decoded does not mean trusted.
Token workspace
Token and secrets stay in this browser sessionToken input is ephemeral. Decoding does not check authenticity; do not paste production credentials into shared browsers.
Trusted key & claims policy
Verification checks only the signature against the specified local key and allowed algorithm. It does not authenticate the key source or authorize an API request. No JWT or key is fetched automatically.
Inspection results
NOT DECODEDNo token decoded.
Reports omit raw JWTs, signatures, keys, HMAC secrets and sensitive claim values. A valid signature alone never proves application authorization.
How to use JWT Decoder & Claim Inspector
- Paste a three-part compact JWT. Treat its contents as sensitive even when encoded.
- Decode and inspect the header and payload. Review exp, nbf and iat dates in the claim summary.
- Copy a redacted payload or download a privacy-safe inspection report. Clear all sensitive fields when finished.
When to use this tool
Inspect readable token headers, payload claims and dates, then optionally verify a signature using a trusted local key. A matching signature is not proof of application authorization.
JWT claims are readable before they are trusted
Compact JWT header and payload segments commonly contain Base64URL-encoded JSON. NumericDate claims express seconds relative to the Unix epoch. An exp or nbf value can be displayed as a date without establishing that anyone trustworthy signed it. An explicitly trusted public key or test secret can verify a supported signature locally; applications must still enforce issuer, audience and authorization rules.
Worked example
Payload: {"sub":"sample","exp":1700000000}
exp UTC: 2023-11-14T22:13:20.000Z
Inspection report: signatureStatus = NOT_CHECKED Read an intentionally untrusted token before choosing verification
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZW1vIn0.cHJhY3RpY2U
- Paste this authored inspection fixture and choose Decode JWT. Its header labels HS256 and its payload contains sub: demo.
- Read the signature segment as text only. Here it is a practice placeholder, not a generated HMAC signature; a familiar algorithm label cannot establish authenticity.
- Notice that a payload without exp has no expiration claim to check. Missing expiration is different from proof that a token is safe or acceptable indefinitely.
- If downloading the report, retain its unverified status when sharing it. Copying only the payload loses that context.
Authored non-authentic token; no identity, signature or access verified. Do not send this fixture as a credential. For a separate shared-secret exercise use HS256 Generator & Verifier; decoding cannot replace that signature check or your application's authorization rules.
Limits and output checks
The tool decodes JSON objects, not encrypted JWE tokens or every JOSE serialization. An optional trusted key may be supplied for cryptographic verification. Verification does not establish application authorization. Numeric time claims must be finite numbers. A decoded token can be expired, forged or intended for a different application.
Reference: JWT registered claims.
Frequently asked questions
Does a readable token mean its signature is valid?
No. Anyone can construct readable header and payload segments. Decoding alone establishes no authenticity.
Are token contents secret because they are Base64URL?
No. Encoding is reversible. Avoid sharing access tokens or payloads that identify users or contain private data.
What does the report's signatureVerified field mean?
The compatibility Boolean is false when verification was not attempted. V2 also exports an explicit signatureStatus of NOT_CHECKED, VERIFIED or FAILED, which must be read separately.
Decode, verify and evaluate claims: three different checks
Decode: Base64URL is reversible encoding, not encryption. Any readable header or payload can be forged. A three-part compact JWS can contain JSON claims; a five-part JWE contains encrypted content that this tool does not decrypt.
Verify: Open the optional Verify signature tab. Choose an allowed algorithm and supply a trusted public JWK/JWKS or PEM key (RS256, PS256, ES256), or a synthetic HS256 test secret. The browser verifies the original encoded signing bytes. No key is automatically obtained from token-provided jku or x5u, and the matching key must be independently trusted by your application. Local verification requires browser WebCrypto in a secure context.
Claims: Set expected issuer, audience, type, clock skew and optionally require expiration. JWT NumericDate uses seconds since the Unix epoch, with possible fractional values. A passing check means only the configured conditions matched; it does not validate server session status, revocation, token purpose or authorization.
Compare tokens and share safely
The Compare tokens tab reports changed field paths, masking the values. Normal JSON and Markdown reports omit raw tokens, signatures and secret keys, redact subjects and identifiers, and distinguish NOT_CHECKED from an actual FAILED signature check. Explicit raw JSON display and raw-payload copying are separate, privacy-sensitive actions. The Clear button clears this page's visible fields and derived results, not an already-used OS clipboard.
Why JWT verification sometimes fails
Common causes include a wrong or outdated key, mismatched kid, a different declared/approved algorithm, altered signing bytes, expired exp, future nbf, absent required claims or wrong iss/aud. A valid cryptographic signature with the wrong audience must still fail the configured claims policy.
Relevant standards: JWS (RFC 7515), JWT (RFC 7519), JWA algorithms (RFC 7518) and JWT best current practices (RFC 8725).
A practical workflow
Inspect a permitted sample token to understand its visible claim names and date fields. Use your application’s authentication system for acceptance decisions.
Read the scope alongside the result
Readable claims can be forged or expired. Decoding alone does not verify signatures; opt-in verification supports selected JWS algorithms but never establishes that an API would accept the token.