JWT Decoder: Read the Header, Payload and Claims
Decode and inspect JSON Web Tokens directly in your browser. View the header, payload, and claims with readable expiration dates. Nothing is ever sent to a server.
Token Inspector
Header
Payload
Signature
What is a JWT?
A JSON Web Token (JWT, RFC 7519) is a compact, URL-safe way to represent claims between two parties. It is made of three Base64URL-encoded parts joined by dots — header.payload.signature. Its most common use is stateless authentication for REST APIs: after login, the server issues a signed token that the client sends with each request, so the server can verify identity without keeping session state.
JWT Structure: Header, Payload, Signature
Declares the signing algorithm (alg, e.g. HS256, RS256, ES256) and the token type (typ), almost always JWT.
Carries the standard and custom claims. It is only Base64URL-encoded, not encrypted — anyone can read it, so never store secrets here.
Computed by signing the encoded header and payload with a secret or private key. It proves integrity but cannot be verified without that key.
Common JWT Claims Explained
The payload contains claims — statements about the token. These registered claims are defined by the JWT standard:
| sub | Subject — the principal the token is about, usually the user ID. |
| iss | Issuer — identifies who issued the token. |
| aud | Audience — the recipients the token is intended for. |
| exp | Expiration Time — Unix timestamp after which the token must be rejected. |
| iat | Issued At — Unix timestamp of when the token was created. |
| nbf | Not Before — Unix timestamp before which the token must not be accepted. |
| jti | JWT ID — a unique identifier, useful to prevent token replay. |