JWT Decoder
Read the header and payload of a JSON Web Token. Nothing is verified or sent.
Loading the JWT decoder…
The tool runs locally in your browser.
Read a token without trusting it
A JSON Web Token is three Base64Url parts joined by dots. Decoding one is the fastest way to debug a login flow — which role was issued, when the token expires, what the key id is. This tool shows those fields as formatted JSON.
What you can do
- Decode header, payload and signature sections
- Pretty-print each part as JSON
- See expiry and issued-at times as readable dates
- Copy any section for further inspection
How to use it
- Paste the token from your cookie, header or storage.
- Read the decoded payload — look at exp and role claims.
- Copy the JSON you need into your debugging notes.
Privacy and honesty
Decoding is purely local. The tool does not verify signatures and never sends the token anywhere — a token is a credential, so treat every paste as sensitive.
Frequently asked questions
Does this log me in anywhere?
No. It only displays what the token already contains.
Why is my payload not valid JSON?
Some claims are stored as numbers rather than strings; the formatter still displays them.
Can it refresh or validate a token?
No. Verification requires the signing key on your server — never paste a private key here.