What is the JWT Generator (HS256)?
Make a signed JSON Web Token for testing APIs and logins. Write the payload as JSON, choose HS256, HS384 or HS512, add a secret and optional issued-at and expiry times, and copy the token.
Features
HMAC signing
HS256, HS384, HS512.
iat and exp
Set validity times.
Private
Secrets stay in your browser.
How to use the JWT Generator (HS256)
- 1
Type the payload as JSON.
- 2
Type the secret key and choose the algorithm.
- 3
Copy the token; check it with the JWT Decoder.
Who it is for
API testing
Tokens for Postman and curl.
Tips for better results
- Use the JWT Decoder to read the token back.
- Never use test secrets in production.
Questions people ask
Is it free?
Yes, free and private.
Is what I type sent anywhere?
No. Everything runs in your own browser with its built-in cryptography. Nothing is sent to our server or saved.
Is the payload secret?
No. Anyone can read a JWT payload; the signature only proves it was not changed. Do not put passwords in it.