JWT Decoder
Decode and inspect JSON Web Tokens.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout 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.
Comments
More in Encoding & Decoding
- Base64 Encoder / Decoder
- URL Encoder / Decoder
- HTML Entity Encoder / Decoder
- Base32 Encoder / Decoder
- ROT13 Encoder / Decoder
- Morse Code Translator
- Binary to Text Converter
- Hex to Text Converter
Comments