Utilitory / Technology / JWT Decoder
Technology · Tools

JWT Decoder

Decode a JSON Web Token (JWT) header and payload, inspect common claims and expiry, and understand what is and is not verified.

Reserved ad space · responsive display

Encoded token

Paste a JWT with three dot-separated segments. Decoding happens in your browser; no token is uploaded.

Security note: Treat bearer tokens like passwords. Avoid pasting live production credentials into tools you do not control.

Token details

Header and payload are decoded, but signature authenticity is NOT verified.

Token status
Enter a token
Expiry is based on the exp claim and your device clock.
Algorithm (alg)—
Token type (typ)—
Issuer (iss)—
Subject (sub)—
Audience (aud)—
Issued at (iat)—
Not before (nbf)—
Expires (exp)—
Signature segment—

Decoded header

Read-only formatted JSON.

—

Decoded payload

Read-only formatted JSON.

—
Reserved ad space · after calculator
Calculator guide

More Information

Inspect a JWT without sending its contents to a server.

How to use the calculator

Paste a compact JWT consisting of three base64url segments separated by dots. The decoder parses the header and payload as JSON and displays registered claims, including expiry if present.

Formulas and method

JWT format = base64url(header) + "." + base64url(payload) + "." + signature
exp and nbf are NumericDate values: seconds since 1970-01-01T00:00:00Z
A token can be decoded without knowing the signing key; decoding is not verification.

Worked example

A payload containing {"sub":"user123","exp":1893456000} describes subject user123 and an expiry at 2030-01-01T00:00:00Z. The tool reports whether that timestamp is past according to your device clock, but cannot establish that the token was genuinely issued by a trusted authority.

Assumptions and limitations

The tool does not validate JWT signatures, issuer trust, audience, allowed algorithms, token revocation or key rotation. A decoded payload is untrusted data. The expiry indicator is informational and does not mean a token is valid or safe. JWTs may contain personal or sensitive information. Encrypted JWEs and unsecured two-segment formats are not supported.

Frequently asked questions

Does decoding verify the JWT signature?

No. Signature verification requires the correct trusted signing key and explicit algorithm and issuer checks.

Can anyone read a JWT payload?

Yes, for ordinary signed JWTs the payload is encoded, not encrypted.

Is an unexpired token necessarily valid?

No. It may have an invalid signature, wrong audience, revoked session or other authorization problems.

Explore related tools

Working on a larger task? Browse the connected calculators in these toolkits.

Developer & Networking Tools →

Continue exploring Developer & Networking Tools

These calculators work independently. Open another tool to continue your planning.