JWT Decoder

Client-side

Decode JWT tokens instantly. Inspect header, payload, and expiry — entirely client-side.

Client-side only. This tool decodes the header and payload portions of a JWT. It does not verify the signature — signature verification requires the secret key and should be done server-side.

What is a JWT?

A JSON Web Token (JWT) is a compact, self-contained token format for securely transmitting information as a signed JSON object. JWTs are widely used in authentication systems — when a user logs in, the server returns a JWT which the client sends with subsequent requests to prove identity.

A JWT has three parts separated by dots: the header (algorithm and token type), the payload (claims/data), and the signature (used to verify the token has not been tampered with).

Understanding JWT Structure

Header

Contains the algorithm used to sign the token (e.g., HS256, RS256) and the token type (typically "JWT").

Payload

Contains the claims — data encoded in the token such as user ID, roles, expiration time (exp), issued-at (iat), and custom claims.

Signature

The cryptographic signature that verifies the token has not been modified. Verification requires the secret key — this tool does not verify signatures.

Frequently Asked Questions

What is a JWT token?

A JWT (JSON Web Token) is an open standard (RFC 7519) for securely transmitting information as a compact, URL-safe JSON object. It has three parts separated by dots: a header, a payload, and a signature.

Does this tool verify the JWT signature?

No. Signature verification requires the secret key or public key used to sign the token, which should never be exposed client-side. This tool only decodes the header and payload portions, which are Base64Url-encoded. Never rely on client-side decoding for authentication decisions.

Is it safe to paste my JWT token here?

This tool runs 100% in your browser. Your token is never sent to any server. That said, treat JWTs like passwords — avoid pasting production tokens in environments you do not control.

What does the exp claim mean?

The exp (expiration time) claim is a Unix timestamp indicating when the token expires. This tool shows the human-readable expiration date and whether the token has already expired based on your browser's current time.

Can I use this to debug authentication issues?

Yes. This tool is useful for inspecting JWT claims such as user ID, roles, permissions, and expiration time to debug authentication and authorization issues during development.

What algorithms do JWTs use?

Common JWT signing algorithms include HS256 (HMAC with SHA-256), RS256 (RSA with SHA-256), and ES256 (ECDSA with SHA-256). The algorithm is specified in the JWT header. This tool displays the algorithm but does not verify the signature.

Related Tools