JWT Decoder

All tools

Paste a JWT token below to decode the header and payload. Decoding does not verify the signature.

alg
typ
exp (UTC)

Note: this tool decodes only. It does not validate or verify signatures.

What is a JWT?

JWT (JSON Web Token) is a compact token format used for authentication and authorization.

A JWT usually has three parts: header, payload, and signature. This tool decodes header and payload locally in your browser and does not verify the signature.

How to use the JWT Decoder

  1. Paste a JWT token into the input field.
  2. The tool will decode the header and payload as formatted JSON.
  3. Copy the decoded JSON if you need it for debugging.

Tips

  • If decoding fails, check that your token has three dot-separated parts.
  • Claims like exp, iat, and nbf are usually UNIX seconds.
  • If your token was copied with spaces or line breaks, remove them.
  • Signature verification requires the secret or public key and is not done here.

Related guides

Learn the workflow behind this tool and what to check next.

JWT inspection checks before troubleshooting auth

Decoding a JWT helps you verify claims and expiration metadata, but it does not prove that the token is trusted or accepted by your backend.

Expiration claims

Check exp, iat, nbf, timezone assumptions, and clock skew before investigating sessions or refresh token flows.

Audience and issuer

Confirm aud, iss, tenant, client_id, and environment values match the service that will validate the token.

Role and scope claims

Inspect scopes, roles, permissions, and feature flags when an authenticated request is accepted but unauthorized.

Signature caution

Decoded content is not verification. Never treat an unsigned or unverified token as proof of identity.

A practical example, an edge case, and a maintainer note

Practical example

If exp is lower than the current Unix time, the token is expired even when its header and payload decode cleanly.

Edge case

A decoded token can contain any forged claims. Without signature verification against the expected algorithm and key, identity is unproven.

Maintainer note

I check iss, aud, exp, nbf, and clock skew together because most JWT failures are contract mismatches, not decoding problems.

Related tools

You may also find these tools useful.

JWT Decoder FAQ

Does this tool verify the JWT signature?
No. It only decodes the header and payload.
Is my token sent to the server?
No. Decoding happens locally in your browser.
Why do I see an exp field?
exp is the expiration time claim, usually stored as UNIX seconds.
Can I decode an encrypted JWT (JWE)?
This tool is intended for standard signed JWTs (JWS). Encrypted tokens (JWE) require decryption keys.