Base64URL is decoded locally
Hyphen and underscore are translated to the standard Base64 alphabet, missing padding is restored, and the resulting UTF-8 text is parsed as JSON.
Decode and inspect JSON Web Tokens to view header, payload, and signature claims.
Enter the JSON Web Token string you want to inspect.
See the decoded header, payload, claims, and expiration time.
Check if the token is expired or has valid structure.
A JSON Web Token normally contains three dot-separated Base64URL segments: header, payload, and signature. This decoder displays the JSON in the first two segments and interprets common time claims. Decoding is useful for inspection, but it does not prove who issued the token or whether its signature is valid.
A concrete input and expected output from the current implementation.
Input
eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0.eyJzdWIiOiJiZWUyIiwiaWF0IjoxNzAwMDAwMDAwfQ.
Expected output
Header: {"alg":"none","typ":"JWT"}
Payload: {"sub":"bee2","iat":1700000000} The two JSON segments decode without a secret. The empty third segment and alg value none mean this example carries no cryptographic signature and must never be trusted for authorization.
Hyphen and underscore are translated to the standard Base64 alphabet, missing padding is restored, and the resulting UTF-8 text is parsed as JSON.
Fields such as sub, exp, nbf, iss, and aud describe identity and validity constraints. An application must verify the signature, allowed algorithm, issuer, audience, and time claims before relying on them.
No. Signature verification requires the expected algorithm and an appropriate key. This page only decodes and presents the token segments.
Standard signed JWTs provide integrity, not confidentiality. Encrypt sensitive claims with an appropriate JWE design or keep them out of browser-visible tokens.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Format, validate, and beautify JSON with syntax highlighting and error detection.
Encode text or files to Base64 and decode Base64 strings back to their original form.
Format and indent SQL queries for better readability across all major dialects.
Convert HTML markup into clean Markdown syntax with support for tables and lists.
Write Markdown and see the rendered HTML output in real time with live preview.
Visualize unified diffs and patch files with color-coded additions and deletions.