Developer Tools
JWT Generator
Create a signed JSON Web Token with HMAC (HS256/384/512).
Free foreverRuns in your browserNo sign-up
Tokens are signed in your browser with Web Crypto (HMAC). Your secret and payload are never uploaded. Use a long, random secret in production.
About the JWT Generator
A JSON Web Token packs a set of claims into a signed, URL-safe string that services can trust once they verify the signature.
Choose an HMAC algorithm, enter your JSON payload and a secret, and this tool builds and signs the token using your browser's Web Crypto.
Your secret and payload never leave your device, which is important because the secret can create valid tokens.
Key features
- HMAC signing: HS256, HS384, HS512
- Your own JSON payload
- Signed locally with Web Crypto
- Copy the token in one click
How to use
- 1Pick an algorithm and enter a secret.
- 2Edit the JSON payload as needed.
- 3Click Generate token and copy the result.
Frequently asked questions
- Which algorithms are supported?
- HMAC-based signing with HS256, HS384 and HS512, which are the most common symmetric JWT algorithms.
- Is it safe to enter my secret here?
- The secret is used only in your browser to sign the token and is never uploaded. Still, avoid pasting real production secrets into any online tool.