Xgenious
developer

Free JWT Decoder — Inspect JSON Web Token Claims Instantly

A JSON Web Token (JWT) is a three-part Base64-encoded string separated by dots: header, payload, and signature. This tool decodes all three parts and displays them as readable JSON — showing the algorithm, token claims (sub, iss, exp, iat), and expiry status. Your token is never sent to any server.

Free — No SignupRuns in BrowserData Never UploadedPopular tool

developer

Decode and inspect JSON Web Token header, payload, and signature.

  • Decode JWT header and payload as readable formatted JSON
  • Surfaces all standard claims — sub, iss, aud, exp, iat, nbf — plus custom claims
  • Converts exp and iat Unix timestamps to human-readable dates
  • Flags whether the token is currently valid, expired, or not yet active
  • Displays the signing algorithm (HS256, RS256, ES256, etc.) from the header
  • Token never leaves your browser — fully private, no server calls
Features

Everything you need in one JWT Decoder

JWT decoder

Splits the token on its dots and decodes each Base64URL segment, rendering the header and payload as clean, readable JSON — no database lookup required.

Claims inspector

Surfaces standard claims — sub, iss, aud, exp, iat, nbf — plus any custom claims your application adds to the payload, all formatted for easy reading.

Expiry checker

Converts the exp and iat Unix timestamps to human-readable dates and clearly flags whether the token is still valid, expired, or not yet active (nbf).

Algorithm viewer

Reads the alg field from the header so you can confirm whether the token is signed with HS256, RS256, ES256, or another algorithm without leaving your browser.

How It Works

How to use JWT Decoder

01

Paste your JWT

Paste the full JWT token (including all three dot-separated parts) into the input field.

02

Inspect decoded output

The header and payload are decoded and formatted as JSON. Expiry time is shown in human-readable format.

03

Check validity and claims

See if the token is expired, what algorithm was used, and all claims present in the payload.

Format Comparison

Anatomy of a JSON Web Token — what each part contains

PartContainsCommon fields
HeaderToken type and signing algorithmalg, typ, kid
PayloadClaims — data about the user and tokensub, iss, aud, exp, iat, nbf
SignatureCryptographic hash of header + payloadHMAC-SHA256 or RSA / ECDSA signature
Troubleshooting

How to fix common syntax errors

Most “invalid JSON” failures come from a small set of mistakes. Paste the failing JSON above, click Validate, and the tool points you at the exact line and column.

Invalid JWT — wrong number of partsheader.payload (missing signature)

A valid JWT must have exactly three dot-separated segments. Check for truncation or accidental deletion of the signature portion.

Bearer prefix copied with token"Bearer eyJhbGc..."

Remove the "Bearer " prefix before pasting. Paste only the raw token starting with "eyJ" — no surrounding quotes, no keyword prefix.

Could not decode header or payloadnon-Base64URL characters

The segment is corrupted, truncated, or contains invalid characters. Verify you copied the complete token from the source without modification.

Token expiredexp timestamp in the past

The exp claim has passed. Request a fresh token from your authorization server. Check your server clock if tokens expire unexpectedly fast.

Trusting claims without signature verificationdecode-only in production

Decoding reveals the payload but does not prove the token is authentic. Always verify the signature server-side using the appropriate secret or public key before trusting any claim.

Sensitive data in JWT payloadpassword or API key in claims

JWT payloads are Base64URL-encoded — anyone holding the token can decode them instantly. Never put secrets, passwords, or private keys in the payload. Use opaque tokens or encryption if confidentiality is required.

FAQ

Frequently asked questions

A JSON Web Token (JWT) is a compact, URL-safe token format defined in RFC 7519, consisting of three dot-separated Base64-encoded parts: header (algorithm and token type), payload (claims such as user ID, expiry, and issuer), and signature. JWTs are the dominant format for stateless authentication in REST APIs and single-page applications — readable without a database lookup.

Have a project in mind?

We turn ideas into production-ready software — SaaS, web apps, mobile, and AI agents. Fixed price. Committed timeline. No surprises.

Let's talk