Skip to content

Security

JWT Decoder

Decode JWT headers, payloads and expiration data.

Loading tool…

About this tool

What is JWT Decoder?

Inspect the readable header and claims inside a JWT while investigating an authentication flow. Decoding is useful for seeing a subject or expiration claim, but it does not establish that a trusted issuer created the token. Treat the displayed data as unverified until the receiving system performs its complete signature and claims validation.

A worked example

Decode a synthetic claim without mistaking it for authentication

Example input

eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJkZW1vIn0.signature

Expected result

{"sub":"demo"}

The payload decodes to the object shown. The final segment is an intentional placeholder, so this example is not a usable signed token. A readable payload and a plausible algorithm name do not prove validity. Inspect the destination's issuer, audience and time requirements rather than accepting a token merely because this decoder can display it.

Common mistakes and limits

  • Ordinary JWT payloads are readable encoded data. Do not put confidential values in a token on the assumption that Base64URL hides them.
  • Expiration is only one validation condition. Missing or plausible time claims do not replace signature, issuer, audience and application-specific checks.

Features

What you can do

  • Decode JWT headers and payloads instantly.
  • Display decoded claims as formatted JSON.
  • Detect expiration claims and show token status.
  • Copy the header or payload independently.
  • Process tokens locally without uploading them.
  • Clearly distinguish decoding from signature verification.

Frequently asked questions

Questions about JWT Decoder

Does decoding a JWT verify its signature?

No. Decoding only reveals the token header and payload. Signature verification requires the appropriate secret or public key and knowledge of the expected algorithm.

Is it safe to paste a JWT into this tool?

The decoder runs locally in your browser and does not upload the token. Even so, avoid exposing production credentials on untrusted or shared devices.

What does the exp claim mean?

The exp claim contains a Unix timestamp indicating when the token expires. After that time, applications should normally reject the token.

Why can a modified JWT still be decoded?

JWT header and payload sections are encoded, not encrypted. Anyone can decode them. Security comes from verifying the cryptographic signature.

Related tools