JSON Web Token (JWT, RFC 7519) is an open industry standard defining a compact, URL-safe container format for transmitting cryptographically verifiable claims between client and server. Commonly used in OAuth 2.0, OpenID Connect (OIDC), and stateless REST API authentication workflows, a JWT bundles user credentials, authorization roles, and expiration metadata into a dot-separated string. While JWTs are digitally signed (or encrypted), the Header and Payload portions are simply Base64URL-encoded JSON objects. During API development, microservice debugging, or token expiration troubleshooting, engineers need to inspect claims like `sub`, `iss`, `aud`, and `exp` without sending sensitive access tokens to third-party remote servers. The JuicyDevs JWT Decoder parses JWT structures entirely in local browser memory, displaying formatted Header, Payload, Signature details, and automated validity diagnostics without transmitting your security tokens anywhere.
Parses the three dot-delimited segments (`Header.Payload.Signature`). Segments 1 and 2 are decoded using standard Base64URL string replacement (`-` to `+`, `_` to `/`) followed by UTF-8 string decoding (`TextDecoder` API) and JSON formatting. Expiration is evaluated by comparing the `exp` claim integer against `Math.floor(Date.now() / 1000)`.