JWT Generator
Generate a signed HS256 JSON Web Token from a payload and secret, created in your browser so the secret stays local.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Create and sign a JSON Web Token in your browser. Enter a payload and a secret, choose the HMAC algorithm, and get a signed JWT. Signing uses the built-in Web Crypto API and your secret never leaves the page. Use HMAC tokens for testing and learning, not for production secrets in shared environments.
How to Use JWT Generator
- Enter the payload. Add the claims you want as a JSON object.
- Add your secret. Enter the shared secret used to sign the token.
- Generate the token. Select the button to build and sign the JWT.
- Copy the token. Use the copy button to grab the signed token.
Frequently Asked Questions
What signing method is used?
The token is signed with HS256, a symmetric method that uses a shared secret for both signing and verifying.
Where should I keep the secret?
On your server only. Anyone with the secret can mint valid tokens, so it must never be shipped to the browser in production.
Is the payload encrypted?
No. The payload is encoded and readable by anyone. Do not put sensitive data in a token.
Is anything sent to a server?
No. This tool runs entirely in your browser, so the values you enter, including any secrets, never leave your device.
Is it free?
Yes. Every tool here is free to use with no sign up.
Related Tools
JWT Decoder →
Decode a JWT to read its header and payload claims, parsed in your browser…
AES-256 Text Encryptor →
Encrypt and decrypt text with AES-256-GCM encryption. Works 100% offline in your browser using…
Bcrypt Generator And Hash Verifier →
Bcrypt Generator And Hash Verifier password hashes. Secure bcrypt encryption with adjustable cost factor.…
CSS Box Shadow Generator →
Visual box-shadow builder with multi-layer support, 9 presets (Material elevation, neumorphic, glassmorphic, glow), per-shadow…
CSS Text Shadow Generator →
Multi-layer CSS text-shadow builder with 8 classic presets (outline, neon, 3D, retro), editable preview,…
Password Generator →
Create strong random passwords with custom length and character types, generated in your browser…
Password Strength Checker →
Test how strong a password is with a rating, a meter, and improvement tips,…
SHA Hash Generator →
Create SHA-1, SHA-256, SHA-384, and SHA-512 hashes from any text, computed in your browser…