🔑 JWT Generator
Generate JSON Web Tokens with custom payload and HS256 signing. Color-coded parts for easy inspection.
■ Header■ Payload■ Signature
About JWT Generator
Generate HMAC-SHA256 signed JSON Web Tokens entirely in your browser. Useful for testing APIs, building prototypes, and learning about JWT structure.
FAQ
What algorithm is used?
HS256 (HMAC-SHA256). The Web Crypto API handles all cryptographic operations.
Is my secret safe?
Yes. Everything runs 100% client-side. Your secret never leaves your browser.
Can I set custom claims?
Yes, edit the payload JSON to include any claims you need (sub, iat, exp, roles, etc.).