Skip to content

JWT Decoder

Embed

Paste this where you want JWT Decoder on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/jwt-decoder/" width="100%" height="500" frameborder="0" loading="lazy" title="JWT Decoder"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/jwt-decoder/">JWT Decoder</a> by BrowserUtils</p>

Decode and inspect JSON Web Tokens.Runs in this tab.

Next step

About JWT Decoder

Free online JWT decoder. Paste a JSON Web Token to decode and inspect its header, payload, and signature. It runs in your browser. Nothing is sent to a server.

Questions

Is it safe to decode JWTs online?
This tool runs entirely in your browser. Your token never leaves your device and is not sent to any server.
Can this tool verify JWT signatures?
This tool decodes and displays the JWT contents. Signature verification requires the secret key or public key, which is not handled by this decoder.
What are the three parts of a JWT?
A JWT has three Base64url-encoded parts separated by dots: the header (algorithm and token type), the payload (claims like user ID and expiration), and the signature (used to verify the token was not tampered with).
How do I check if a JWT has expired?
Decode the JWT and look at the "exp" claim in the payload. This is a Unix timestamp representing the expiration time. Compare it to the current time to determine if the token is still valid.
What is the difference between a JWT and a session cookie?
A session cookie stores a reference ID on the server, while a JWT contains the actual user data and is verified by its signature. JWTs are stateless and do not require server-side session storage.
Can I decode a JWT from an Authorization header?
Yes, copy the token value after "Bearer " in the Authorization header and paste it into the decoder. The tool will display the header, payload, and signature sections.

More in Encoding & Decoding

All 20 encoding & decoding