JWT Decoder
Decode a JWT header and payload online for free, entirely in your browser.
How to use
- 1Paste a JWT into the box.
- 2View the decoded header and payload as formatted JSON.
Features
- Decodes header and payload
- Clearly states signature is not verified
- Runs entirely in your browser
Supported formats
Privacy
Your token is decoded locally in your browser and is never sent to our server. Signature verification is not performed.
About this tool
A JWT is three Base64URL-encoded segments joined by periods: a header, a payload, and a signature. The first two are just encoded JSON — readable by anyone who splits the string and decodes them, which is exactly what this tool does, with no secret key involved. The signature is a different matter entirely: verifying it cryptographically proves the token wasn't tampered with, and that step is deliberately not performed here, since it would need the issuing system's private key or secret. Treat this as a way to inspect a token's claims, not as proof that a token is genuine.
Frequently asked questions
Does this verify the JWT signature?
No. This tool only decodes the header and payload — it does not verify the signature, since that requires the signing secret or public key.
Is it safe to paste a production JWT here?
Decoding happens entirely in your browser and the token is never sent anywhere, but as a general rule avoid pasting real production tokens into any website.
Why does decoding fail for my token?
A JWT must have exactly three dot-separated, Base64URL-encoded parts. If any part isn't valid JSON once decoded, decoding will fail.
What's actually in the header versus the payload?
The header typically names the signing algorithm and token type — metadata about the token itself. The payload holds the actual claims: who the token represents, when it expires, and whatever other data the issuing system included.
Related tools
Base64 Encoder
Encode and decode Base64 text and data online, entirely in your browser.
JSON Formatter
Format and beautify JSON online with proper indentation, entirely in your browser.
JSON Validator
Validate JSON syntax and get clear error messages with line and column numbers.
JSON to CSV
Convert a JSON array of objects into a CSV file online for free.