Free JWT Decoder — Inspect JSON Payload, Header & Expiry

Decode a JSON Web Token and read the JSON payload, header, and claims. See exp/iat as dates. Secure and private in your browser.

Quick answer

To decode a JWT, paste the token into the KaviForge JWT Decoder. It splits the token into header, payload, and signature, pretty-prints the JSON, converts exp, iat, and nbf timestamps to readable dates, and tells you whether the token is expired. Decoding does not verify the signature.

Paste a JSON Web Token to decode the header and JSON payload, convert exp and iat to readable dates, and see whether the token has expired. Decoding never leaves your browser.

The JSON payload is only Base64URL-encoded, not encrypted — anyone with the token can read claims. Use this decoder to debug 401s, inspect roles, and confirm expiry without uploading the token.

Related reading: What is a JSON Payload? A Simple Guide for API Beginners, Privacy-First Formatting: Why Our Online JSON Tool is 100% Safe, and How to Minify JSON (and Why It Makes Your Site Faster).

How to Decode a JWT and Inspect the JSON Payload

  1. 1Copy the token from your Authorization header, cookie, or local storage.
  2. 2Paste it into the JWT token box — a leading "Bearer " is removed automatically.
  3. 3Check the status banner to see if the token is valid, expired, or not yet valid.
  4. 4Review the decoded header and payload JSON.
  5. 5Read registered claims (iss, sub, aud, exp, iat, nbf) with human-readable dates.

Features

Header & Payload JSON

Pretty-printed, copyable JSON for both token sections.

Expiry Status

Instantly see if a token is expired, not yet valid, or has no exp claim.

Readable Timestamps

exp, iat, and nbf converted to local time and ISO 8601.

Claims Breakdown

Issuer, subject, audience, JWT ID, algorithm, type, and key ID at a glance.

Helpful Errors

Detects malformed tokens, wrong part counts, and encrypted JWE tokens.

Private by Design

Tokens are decoded locally — they are never sent to a server.

When to Use the JWT Decoder

Debug 401 Unauthorized errors

Check whether an access token has expired or has the wrong audience or issuer.

Inspect OAuth and OpenID Connect tokens

Read ID tokens from Auth0, Firebase, Cognito, Okta, or Azure AD to see user claims.

Verify roles and scopes

Confirm that a token carries the permissions your API expects.

Learn how JWTs work

Load the sample token to explore the structure of a real JWT.

About the JWT Decoder

The decoder splits the token on dots, Base64URL-decodes the header and payload, and parses them as JSON. The signature is shown but not verified, because verification requires the secret or public key.

Because JWTs often grant access to real accounts, never paste production tokens into tools that send data to a server. This tool runs entirely in your browser.

JWT Decoder FAQs: JSON Payload, Expiry & Privacy

How do I inspect the JSON payload of a JWT?

Paste the token into the KaviForge JWT Decoder. The header and JSON payload are Base64URL-decoded and pretty-printed instantly, including exp and iat as dates.

How do I decode a JWT token?

Paste the token into the KaviForge JWT Decoder. The header, payload, and claims are displayed instantly.

Can I decode a JWT without the secret key?

Yes. The header and payload are only Base64URL-encoded, not encrypted, so they can be read without a key. The key is only needed to verify the signature.

How do I check if a JWT is expired?

The decoder compares the exp claim with the current time and shows a status banner, plus the exact expiry date.

Does this tool verify JWT signatures?

No. It only decodes. Always verify signatures on your server with the correct secret or public key before trusting claims.

What do exp, iat, and nbf mean?

exp is the expiry time, iat is when the token was issued, and nbf is the time before which it must not be accepted. All are Unix timestamps in seconds.

Is it safe to paste my token here?

Decoding happens only in your browser and nothing is transmitted. Still, avoid sharing production tokens with others.

Popular JWT Decoder searches