LocalExcelTool
Get started

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. 1.Paste a JWT
  2. 2.Decode
  3. 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.

AspectThis toolUpload-based converters
Where the file is processedIn your browser, on this pageOn the vendor's servers, after an upload
Account requiredNoUsually — free tiers ask you to sign in before lifting a limit
Size you can process for freeNo size cap, no run limitA few files per hour, or a ~5–10 MB cap before a paywall
PriceFree. Pro is $9/month, and only buys larger files and AI featuresUsually a subscription — roughly $7–15/month as of November 2026
Works offlineYes, once the page has loadedNo
Time before work starts on a 20 MB fileImmediate — there is nothing to uploadDominated by the upload — about 16 s on a 10 Mbps uplink
What it cannot preserveOutput is deterministic — verify it against any other implementationThe same — the conversion is the same maths

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