JWT & OAuth2 Token Claims & Security Inspector
Decode Base64URL JWT headers and payloads offline, inspect exp/nbf/iat expiration timestamps, and catch dangerous `alg: none` or missing claim configurations.
Input & Options
Local JS Execution
Parsed Output & Diagnostics
Ready
Status
...
Generated Output
JWT Security Checklist
| Field / Claim | What to Verify | Risk if Missing |
|---|---|---|
| header.alg | Strict allowlist (RS256/ES256/EdDSA); reject none | Signature bypass or HS256/RS256 key confusion |
| exp | Short TTL (5-60 min) for access tokens | Stolen token remains valid indefinitely |
| iss & aud | Exact issuer URL and service audience match | Cross-tenant or confused-deputy token replay |
| header.jwk / jku | Never trust unpinned inline JWKs or URLs | Attacker-supplied key forgery |
Parser Methodology & Privacy Guarantees
Splits compact JWS tokens on dot boundaries, decodes RFC 7515 UTF-8 Base64URL header & payload JSON locally, checks registered RFC 7519 numeric date claims against current UTC time, and audits dangerous header fields.
- Decodes header and payload sections purely via atob/TextDecoder in browser memory.
- Audits `alg === 'none'`, weak HS256 symmetric usage vs. asymmetric keys, and presence of inline `jwk`/`jku`.
- Converts `exp`, `nbf`, and `iat` epoch seconds into ISO-8601 timestamps and human-readable TTL.
Scope & limitations: Does not verify cryptographic signatures because verification requires your private/public JWKS key.
Frequently Asked Questions
Can someone forge a JWT payload if I inspect it here?
Anyone possessing a JWT can already Base64URL-decode its payload; security comes from verifying the cryptographic signature on your backend against a pinned algorithm and JWKS.
Why is alg: none dangerous?
RFC 7519 defines alg: none for unsecured JWTs without signatures. Vulnerable auth libraries that honor the token's alg header let attackers forge arbitrary claims.
Are encrypted JWE (5-part) tokens supported?
This inspector targets 3-part JWS tokens (header.payload.signature). Five-part encrypted JWE ciphertexts cannot be decoded without the decryption key.