How to use JWT Generator
- Write the payload as a JSON object.
- Choose the algorithm, enter a secret and set an expiry if you need one.
- Copy the token. Paste it into the JWT Decoder to check it.
About JWT Generator
A JSON Web Token is a signed string that carries claims, such as who a user is and when the token expires. This tool builds one for you: write the claims as JSON, choose an algorithm, enter a secret, and the token is signed with HMAC right in your browser.
It is meant for testing, learning and development. Do not paste the secret of a live production system into any website. Tokens signed here use symmetric algorithms, so whoever knows the secret can create valid tokens.