JWT Generator
Write the claims, pick HS256, RS256, PS256, ES256 or EdDSA, and get a signed JSON Web Token to copy.
Runs in your browser. Nothing leaves this device.
How to use JWT Generator
- 1Edit the claims, or keep the sample.
- 2Pick the algorithm and type a secret, or use the key made for you.
- 3Copy the token, and the public key if you need to verify it.
Questions
Is the token signed for real?
Yes. It is signed in your browser with the Web Crypto API, so any JWT library can verify it with the same secret or the public key shown.
Where does the private key come from?
For RS, PS, ES and EdDSA a fresh key is made on this page. You can paste your own unencrypted PKCS#8 key (BEGIN PRIVATE KEY) instead.
Should I paste a production secret here?
Nothing leaves your browser, but it is safest to use test secrets and keys for test tokens.
How do I read a token?
Use the JWT Decoder to see the header and claims of any token.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- SecurityEXIF RemoverRemove location, camera and other hidden data from JPEG, PNG and WebP photos before you share them, without touching image quality.
- SecurityPassword GeneratorStrong random passwords and passphrases, with an honest strength estimate.
- SecurityEncrypt FileLock any file with a password using AES-256, and unlock it again. The locked .enc file is safe to email or store; only the password opens it.
- SecurityEncrypt TextLock a message with a password using AES-256, and unlock it again. Share the locked text anywhere; only the password opens it.
- SecurityPassphrase GeneratorMake a strong, easy to type passphrase from random words.
- SecurityRandom String GeneratorMake secure random strings, NanoID-style IDs, hex or Base64 secret keys and numeric PINs, many at once.