$ jwt --decode

jwt parser.

Decode and inspect JSON Web Tokens. View header, payload, and validate expiration.

input token
decoded token
Paste a JWT and click parse to inspect its contents.
JSON Web Token (JWT) is a compact, URL-safe token format used for authentication. It consists of three parts: header, payload, and signature, separated by dots.
The tool decodes the header and payload (which are Base64-encoded JSON). The signature is displayed but cannot be verified without the secret key.
No, everything runs client-side in your browser. The token never leaves your computer.

JWT Structure

A JWT has three Base64URL-encoded parts separated by dots:

eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0In0.abc123signature
 |__________| |______________| |____________|
    Header        Payload         Signature

Common Header & Payload Claims

ClaimLocationPurpose
algHeaderSigning algorithm (HS256, RS256)
typHeaderToken type (always "JWT")
subPayloadSubject (user ID)
issPayloadIssuer (who created it)
expPayloadExpiration (Unix timestamp)
iatPayloadIssued at (Unix timestamp)
audPayloadAudience (intended recipient)

Security warning: JWT payloads are only encoded, NOT encrypted. Anyone can decode the payload. Never put secrets (passwords, API keys) in a JWT — use jwe (encrypted JWT) for sensitive data.

learn more in our detailed guide.

→ read the guide