JWT decoder
Decode a JSON Web Token to see its header and claims, with expiry times turned into readable dates. Verifies nothing, by design.
The code for this tool is fetched only when you open it.
What jwt decoder does
JWT decoder splits a JSON Web Token into its header and payload and shows the claims with their timestamps read as dates. It decodes only — it does not verify the signature, and the page says so on the result.
How it works
Base64url decoding of the first two segments with UTF-8 handling, then JSON.parse of each. The signature segment is shown as-is and never checked.
This is a local operation in the literal sense. The bytes are read from disk by the page, processed on the CPU it is running on, and written back out through a download — the network is never involved in the file itself.
Formats and limits
| Limits | Any token length. Standard claims such as exp, iat and nbf are displayed as both a raw number and a local date so expiry is readable. |
|---|---|
| Price | Free, unlimited, no account |
Worth knowing
- A decoded token is not a valid token. Only a server holding the key can tell you whether the signature is genuine, and this tool deliberately does not pretend otherwise.
- Base64url drops padding and swaps +/ for -_, which is why a generic Base64 decoder produces garbage on the signature segment.
Questions about jwt decoder
Does this verify my token?
No. It decodes the header and payload and leaves the signature alone. Verification requires the signing key and belongs on a server.
Can I trust a decoded payload?
You can trust what it says, not that it was issued by who it claims. Anyone can write a payload with any claims; only the signature proves origin.
Why does exp look like a large number?
JWT timestamps are seconds since the Unix epoch in UTC. The tool converts them to a local date, and a token whose exp is in the past is expired regardless of what else it says.
Does this check the signature?
No, and neither should any tool without your key. It only decodes. A token shown as valid here can still be forged.
Why is the payload readable?
JWT payloads are Base64URL, not encrypted. Never put secrets in them.
Does my file leave my device?
No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.
Can I use this without a connection?
Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.
Is it free, and do I need an account?
Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.