JWT Generator
Build and sign JSON Web Tokens (HS256/384/512) from custom claims and a secret.
JSON Web Token
How to use the JWT Generator
-
Edit the payload claims.
-
Enter your signing secret.
-
Copy the signed JWT.
Generate signed JWTs
A JSON Web Token packages claims into a signed, URL-safe string used for authentication. This generator lets you define the payload and secret, signs it with HMAC (HS256/384/512) using the Web Crypto API, and outputs a valid token — handy for testing auth flows locally.
Key features
- HS256, HS384 & HS512 signing
- Custom claims with quick presets (exp, iat)
- Standards-based Web Crypto signature
- Token generated locally — secret stays private
Frequently asked questions
Which algorithms are supported?
Symmetric HMAC algorithms HS256, HS384 and HS512.
Can it verify tokens too?
Use the JWT Decoder to inspect a token; this tool focuses on creating and signing them.
Is my secret uploaded?
No — signing happens in your browser with the Web Crypto API.