What is JWT (JSON Web Token)?
JWT (JSON Web Token) is a compact, URL-safe token format used to send signed JSON claims between applications, APIs, and identity providers.
Decode JWT headers and payloads, verify HS256 signatures, and generate test tokens without sending anything to a server. Token segments are Base64URL strings — you can also inspect raw data with the Base64 decoder.
JWT (JSON Web Token) is a compact, URL-safe token format used to send signed JSON claims between applications, APIs, and identity providers.
A JWT contains three Base64URL-encoded parts: header, payload, and signature. A JWT decoder reads the header and payload, while signature verification checks that the token was signed with the expected secret or key. JWT payload data is readable by design, so it should not contain secrets unless the token is encrypted separately.
header.payload.signature -> Three JWT sections separated by dots {"sub":"123","role":"admin","exp":1893456000} -> Readable JSON payload claims eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... -> Token used in an Authorization: Bearer header