We’re excited to announce our first two StormHack projects to the world: jsonwebtoken.io and java.jsonwebtoken.io! These two sites are open source developer tools we created to make it easy to both encode and decode JWTs and generate a corresponding code sample.
- Decode: Paste an existing JWT in order to decode its header, payload, and signature
- Encode: Provide header, payload, and signature information to generate a new JWT
- See real-time changes: Modify any information within the JWT and see the header, payload, and signature updated accordingly. Or, make edits to the header, payload, and signature and the JWT will update automatically.
Not only does jsonwebtoken.io enable you to encode or decode a JWT, it also generates a code sample based on the library of your choice (with even more coming soon!), enabling you to simply copy and paste the code generated into your project or application.
Want to take a look at the Readme for nJwt, PHP-JWT, or other JWT libraries? No sweat. Based on the library you select to generate a code sample on jsonwebtoken.io, we’ll automatically pull in the Readme docs directly on the page, so there’s no need to go hunting for them. We also link you to the GitHub repo for the JWT library within the Readme in case you want to dig in further.
The source code used for jsonwebtoken.io is publicly available on GitHub, so feel free to check it out! As with everything we develop at Stormpath, this developer tool was designed with security as a core component.
Please give jsonwebtoken.io or java.jsonwebtoken.io a try and let us know what you think. We value your opinion, so if something isn’t working the way you’d expect or there’s a feature you’d like to see added, please let us know by opening an issue on the jsonwebtoken.io or jJWT Github projects.