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.
How to use
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.
The guide
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.
Sent. Thank you.