JWT Encoder / Decoder
Securely encode and decode JSON Web Tokens in your browser. Fast, free, and private.
🔓 Decode a JWT
Paste your JWT token to instantly decode and view the Header and Payload. No server communication.
🔐 Encode a JWT
Enter custom Header, Payload, and Secret to generate a signed JWT using HS256.
Why Use This Tool?
- ✅ 100% client-side: Nothing is sent to a server.
- ✅ Open-source: Built with the secure jose library.
- ✅ Developer friendly: Great for learning, debugging, and testing JWT-based systems.
Example JWT
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.L7RBBoQ4Jx59NTeRduLG2MRTI4RbdEo9ps2QpJctdSc