JWT Decoder

Decode JWT tokens (header and payload). Inspect claims and expiry without sending tokens to any server.

Advertisement — top

Inputs

Result
Advertisement — in-content

What this calculator does

If you've ever opened a spreadsheet just to answer one developer & utility question, this jwt decoder replaces the whole workbook: type the numbers, read the result.

JSON Web Tokens carry claims in header.payload.signature format.

Formula and worked example are shown in plain language below.
Category: Developer & Utility
Inputs required: 1
Purpose-built for a specific decision — not a generic template.

How to use the JWT Decoder

  1. Enter your input.
  2. The result updates automatically.
  3. Copy or share the result.

The formula

Base64URL-decode header and payload; signature is not verified here.

Worked example

Sample decodes to sub=123, name=John.

Common mistakes

  • Trusting JWT without signature verification
  • Storing secrets in payload
  • Not setting expiration

When to use it

Use to inspect tokens during dev.

Pro tips for the JWT Decoder

  • Use Print / PDF to export a clean, ad-free summary you can share with a client or advisor.
  • The chart updates live — drag values up and down to build intuition for how the formula behaves.
  • Change one input at a time to see which lever actually moves the answer the most.

Frequently asked questions

Verify signature?

Requires the secret/key — server-side only.

Where to store?

httpOnly cookie preferred.

Expiration?

Always set exp claim.

Refresh tokens?

Separate long-lived token.

Encrypted JWT?

JWE format.

Can I embed the JWT Decoder on my site?

Embedding isn't public yet, but you can link directly to this page — the URL is stable and shareable.

Is the JWT Decoder free to use?

Yes. Every calculator on CalcPilot, including the JWT Decoder, is free with no sign-up, no watermark, and no export limit.

Embed this calculator

Drop the JWT Decoder into your own site or blog post. Free to use — a small “Powered by CalcPilot” link is appreciated.

<iframe src="https://calcpilot.tools/calculators/jwt-decoder?embed=1" width="100%" height="720" style="border:1px solid #e5e7eb;border-radius:12px;max-width:720px;" loading="lazy" title="JWT Decoder — CalcPilot"></iframe>

Related calculators

Hand-picked next steps if you found the JWT Decoder useful.

Advertisement · sponsored