Decode a JWT without sending it to a server
A JWT is just three Base64url segments. This tool decodes the first two, pretty-prints the JSON, and turns the exp claim into a real date with a countdown.
- Files never leave your device
- No account, no queue
- Works offline
- No upload step
How it works
- 1
Paste the token
Paste the raw token, not the “Bearer ” header value. Three dot-separated segments are required.
- 2
Read header and payload
The algorithm and token type come from the header; claims, subject and scopes come from the payload.
- 3
Check the expiry
If the token carries an exp claim, you get the exact timestamp and whether it has already passed.
Frequently asked questions
Does this verify the signature?
No. Verification requires the signing key or public key, and asking you to paste a secret into a web page is exactly the habit this site exists to avoid. Decoding proves nothing about authenticity — treat an unverified payload as untrusted input.
Is it safe to paste a production token?
The token is decoded in this tab and never transmitted, so the network risk is nil. The practical risk is what the token grants: anyone who reads it can use it until it expires. If in doubt, decode a test token instead.
Why does the payload look like gibberish in another decoder?
Most likely URL-safe Base64 without padding. JWTs use the - and _ alphabet and drop trailing = characters; this tool handles both, so you can paste a token exactly as it appears.
What does “exp” mean, and is it a date?
exp is a NumericDate: seconds since the Unix epoch, in UTC. 1700003600 is 2023-11-14T22:33:20Z. The tool converts it and tells you how long is left, because comparing raw epochs by eye is how expired tokens get mistaken for valid ones.
Can it show tokens from a cookie or header automatically?
No, and it cannot: the page has no access to other sites’ storage. Paste the value explicitly.
Other tools
Compress images
Shrink PNG, JPEG and WebP by 40–80% with mozjpeg, libwebp and oxipng — with a live before/after comparison.
Convert images
PNG, JPEG, WebP and AVIF — encoded by real codecs rather than a canvas re-save. AVIF loads only when you pick it.
Resize images
Percentage or exact width, with multi-step downscaling that avoids the jaggies of a one-shot canvas resize.