JWT Generator
Build and generate JSON Web Tokens (JWT) for development and testing. Choose algorithm, custom header and payload.
Generate Token
Configure your token
Set the algorithm, edit the header and payload, then click Generate Token
What this tool does not do
- Does not support RS256/ES256 asymmetric signing algorithms.
- Intended for development and testing only, not production use.
- Use a proper server-side library with secure key management for production.
How It Works
Configure
Select the signing algorithm, edit the header and payload JSON, and provide a secret key for HMAC algorithms.
Generate
The tool base64url-encodes the header and payload, computes the HMAC signature, and assembles the final JWT.
Copy & use
Copy the generated token with one click. Use it in your API tests or development workflow.
Frequently Asked Questions
What algorithms are supported for JWT signing?
This tool supports HS256 (HMAC-SHA256), HS384 (HMAC-SHA384), HS512 (HMAC-SHA512), and unsigned tokens (alg: none). All signing is done locally using the Web Crypto API.
Can I use this for production JWTs?
This tool is intended for development and testing purposes. For production use, always use a proper server-side library with secure key management.
Is my secret key uploaded to a server?
No. All JWT generation and signing happens entirely in your browser. Your secret key never leaves your device.