🔐

JWT Decoder

Decode and inspect JSON Web Tokens instantly. Nothing leaves your browser.

🔒 Decoded entirely in your browser — no data sent to any server.

About this tool

Last updated:

Decode a JSON Web Token

This JWT decoder splits a JSON Web Token into its header and payload and shows them as readable JSON. It also pulls out the common claims and tells you whether the token has expired. Decoding happens in your browser, and the page states that nothing is sent to a server.

How to use it

  1. Paste your token into the Paste JWT Token box.
  2. The result appears as you type. There is no button to press.
  3. Read the Header and Payload panels, and use their Copy buttons if you need the JSON.
  4. Check the Token Claims section for a quick summary.

How it works

A JWT has three parts separated by dots. The tool requires exactly three, then base64url-decodes the first two and parses them as JSON. The third part, the signature, is shown as it is. If a part cannot be decoded, you see an error message instead.

What you see

ItemShown as
Algorithm, Typealg and typ from the header
Subject, Issuer, Audience, JWT IDsub, iss, aud, jti from the payload
Not Before, Issued Atnbf and iat as local dates and times
Expiryexp as "Expires in..." (green) or "Expired ... ago" (red)
SignatureThe raw third segment, marked unverified

Missing claims show a dash. If the algorithm is none, the tool warns that the token has no signature and must not be trusted.

Assumptions and limits

  • The tool does not verify the signature. Verifying needs the secret or public key, so a decoded token is not proof that it is genuine.
  • The expiry check compares exp with your device clock.
  • It reads standard three-part signed tokens only. Encrypted tokens (JWE) cannot be decoded.

Frequently asked questions

Is it safe to paste a real token?

The decoding runs in your browser and the tool does not send the token anywhere. Even so, treat live tokens as secrets and avoid pasting production tokens into any tool you do not trust.

Does this confirm the token is valid?

No. It only reads what the token says. Anyone can create a token with any claims, so your server must verify the signature.

Why does it say my token is invalid?

The text must have three dot-separated parts, and the first two must decode to JSON. Extra spaces at the ends are trimmed, but a cut-off or edited token will fail.

More to explore

Related Developer Tools

Browse all tools from the same category.

Showing 1-2 of 49