The Three Categories of JWT Claims
RFC 7519 defines three claim categories:
1. **Registered Claims**: Predefined, recommended claims (`iss`, `sub`, `aud`, `exp`, `nbf`, `iat`, `jti`).
2. **Public Claims**: Defined by user communities, usually collision-resistant names (e.g. URI prefixes).
3. **Private Claims**: Custom claims agreed upon by producer and consumer (e.g. `roles`, `tenantId`, `permissions`).
Generate in Browser
Launch GeneratorNeed a cryptographically secure JWT secret right now?
Generate 128 to 512-bit keys in Hex or Base64 using Web Crypto with zero server transmission.
Frequently Asked Questions
Should I put passwords or API secrets in a JWT payload?
Never! Payloads are merely Base64URL-encoded and can be read by any client, proxy, browser extension, or intermediary log.
Related Technical Guides
JWT Decoding
JWT Claims Explained: The Complete Reference for Standard and Custom Claims
Exhaustive developer guide to all 7 RFC 7519 registered JWT claims: syntax, formats, expiration math, and verification rules.
JWT DecodingHow to Decode a JWT: Step-by-Step Base64URL and Payload Inspection
Learn how compact JWTs are split, how Base64URL is decoded to UTF-8 JSON, and how to inspect claims safely in Python, JavaScript, and Bash.