Understanding json web tokens and structural parts
.): a Header, a Payload, and a Signature. Each segment is individually encoded using base64url formatting. To convert raw strings or inspect basic variables, use our Base64 Encoder / Decoder. Here is the typical structural representation of a token:// Standard JWT Token Layout header_base64url.payload_base64url.signature_base64url // Example starting with "eyJ" eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIn0.signature
- Header defines the signing algorithm and token metadata structure
- Payload contains the application claims, roles, and user permissions
- Signature verifies that the token payload was not altered in transit
- Periods act as strict delimiter tokens separating the segments