JWT Decode
Inspect the header and payload of a JSON Web Token.
What is JWT Decode
JWT decoding expands the Base64-encoded header and payload of a JSON Web Token into readable JSON. It does not verify the signature.
🔒 Everything runs in your browser. Nothing is uploaded.
What this tool actually does with your file
- Where it runs
- In your browser, on this page
- Upload
- None — the file never leaves your device
- Offline
- Works with the network disconnected
Decoding is reading, not verifying
A JWT is three Base64url segments separated by dots: header, payload, signature. This tool decodes the first two and shows them as JSON. It does not check the signature, because doing so requires the issuer's key, which a client-side page cannot be trusted with.
That distinction is the most exploited misunderstanding in web auth. A token whose payload says "role":"admin" is not proof of anything until the signature has been verified against a known key. Services that decode and trust the payload have shipped privilege escalation more than once.
The timestamps are in seconds
exp, iat and nbf are NumericDate values — seconds since the Unix epoch, per RFC 7519. JavaScript's Date.now() returns milliseconds, so a naive comparison marks every fresh token as expired or treats a 1970 token as valid far into the future. Multiply by 1000 before building a Date.
Also check which claims are actually present. exp is optional, and a token without it never expires on its own; aud and iss are what bind a token to a particular service and issuer. A token that decodes cleanly can still be for a different audience, which is a valid signature on the wrong door.
Reading the pieces that look wrong
The segments are Base64url: - and _ instead of + and /, and no = padding. Pasting a standard-Base64 variant into a decoder that expects Base64url produces garbage in the header rather than an error, and the payload often still parses — which makes the corruption easy to miss.
The header's alg field is attacker-controlled data, not a security decision. The classic alg:none attack sets it to none and omits the signature; a verifier that honours the header's own claim about which algorithm to use accepts the forged token. Fix the acceptable algorithms on the server side and reject anything else.
How to use
- 1.Paste a JWT
- 2.Decode
- 3.Inspect payload
How this compares
There are three ways to do this conversion: in the browser (this page), through a server-side converter, or with a desktop app. The useful difference is not speed — it is where your file goes and how far the free tier actually reaches.
| Aspect | This tool | Upload-based converters | Desktop software |
|---|---|---|---|
| Where the file is processed | In your browser, on this page | On the vendor's servers, after an upload | On your own machine, after installing an app |
| Account required | No | Usually — free tiers ask you to sign in before lifting a limit | No, though a licence may be needed |
| Size you can process for free | No size cap, no run limit | A few files per hour, or a ~5–10 MB cap before a paywall | Whatever your disk and RAM allow |
| Price | Free. Pro is $9/month, and only buys larger files and AI features | Usually a subscription — roughly $7–15/month as of November 2026 | A one-off licence, or a subscription |
| Works offline | Yes, once the page has loaded | No | Yes |
| Time before work starts on a 20 MB file | Immediate — there is nothing to upload | Dominated by the upload — about 16 s on a 10 Mbps uplink | Just the app launch |
| What it cannot preserve | Output is deterministic — verify it against any other implementation | The same — the conversion is the same maths | The same, though some desktop apps re-render styles more faithfully |
Server-side converters are genuinely better at some things: very large files, sharing results with a team, keeping a conversion history, and automating batches from a script. For the case in front of you — one file, one format change, right now — they mostly add an upload wait and a sign-up form.
Frequently asked questions
What is JWT decoding?
It reveals the header and payload of a token in readable form.
Does it verify the signature?
No. It only displays contents; it does not validate the signature.
Is the token uploaded?
No, decoding happens in your browser.
What this kind of conversion cannot keep
Encoding and hashing run through the browser's Web Crypto API or a pure-JavaScript implementation. The output is deterministic: the same input always produces the same digest, so you can verify a result against any other tool.
Go deeper
More in Encoding
On this page
- What is JWT Decode
- What it does with your file
- How it actually behaves
- How to use it
- How this compares
- FAQ
Excel formula reference
29 functions with syntax, arguments and a table you can retype.
Browse the list →