JWT Decoder — Read Header, Payload and Expiry
JWT decoder splits a JSON Web Token into its header, payload and signature so you can inspect the claims and expiry. Decoding is plain base64 in your browser, so the token never leaves your device.
Runs locally · files stay on device · works offline
How it works in 4 steps
- 1
Pick or drop
Select or drag files into the card — loaded directly into local memory.
- 2
Set options
Adjust target KB, format, dimensions or filters with instant feedback.
- 3
Process locally
Canvas, WebAssembly, or Web Crypto completes the job on your device.
- 4
Save result
Download directly; close the tab to clear everything from memory.
When to use this
| Scenario | Recommended | Why |
|---|---|---|
| An API returns 401 and you want to see the claims | JWT Decoder | Check whether the user id and role are actually in the payload |
| You need to know when a token expires | JWT Decoder | exp is a Unix timestamp; the tool shows the remaining time |
| You suspect the "none" algorithm is in use | JWT Decoder | alg: none means the signature can be forged — the tool flags it |
Privacy & Offline Guarantee
Ready to use with zero installation or login. Once loaded once, core dependencies cache locally so the tool works offline.
FAQ
Why does it not verify the signature?
Verifying needs a secret (HS256) or public key (RS256), and handing a secret to a web page publishes it. This tool only base64-decodes, which needs no key — and precisely because of that, anyone can forge a payload that looks valid. Verify signatures on the server.
Is my token uploaded?
No. Decoding uses atob in your browser with no network requests; it keeps working offline. Note that JWTs usually carry sensitive data (user ids, roles), so be careful when sharing screenshots.
What units are exp and iat in?
Unix timestamps in seconds, not milliseconds. iat is issued-at, exp is expiry, nbf is not-before. All three are 10 digits; 13 digits means milliseconds, so divide by 1000.
Something failed, or you wish this tool also did something else? Tell me →
Related Tools
Ready to process your files privately?
Back to tool ↑