JWT Decoder — Decode JWT Token Online
Paste any JSON Web Token to decode and inspect the header, payload, claims, and expiry. Runs entirely in your browser — your token is never sent to any server.
What Is a JWT Token?
A JWT (JSON Web Token) is a compact, URL-safe token format used for securely transmitting information between parties. A JWT has three parts separated by dots: Header (algorithm and token type), Payload (claims — user ID, roles, expiry, etc.), and Signature (verifies the token hasn't been tampered with). JWTs are widely used for API authentication and single sign-on (SSO).
JWT Claims — What They Mean
sub (Subject): identifies the user or entity the token was issued for. iss (Issuer): identifies who issued the token. aud (Audience): the recipients the token is intended for. exp (Expiration): Unix timestamp when the token expires. iat (Issued At): Unix timestamp when the token was issued. nbf (Not Before): token is not valid before this timestamp. jti (JWT ID): unique identifier for the token to prevent replay attacks.
Decoding vs Verifying a JWT
Decoding reads the header and payload without checking the signature. Anyone can decode a JWT — the data in the payload is just Base64-encoded, not encrypted. Verifying checks the signature using the secret key to confirm the token was issued by a trusted party and hasn't been modified. This tool decodes only — signature verification requires the secret key, which you should never share with a third-party tool.
exp claim is a Unix timestamp. If it's in the past, the token has expired and will be rejected by the server. You need to obtain a new token (usually by re-authenticating or using a refresh token).