Tokens, Keys & Encoding100% In-BrowserToken Builder
JWT Generator
Construct and sign mock or test JSON Web Tokens with custom payloads, claims, and HMAC secrets.
Real-time processing·No server uploads·Zero telemetry
jwt-generator
LIVE
HeaderPayloadSignature
JWT Token (paste to decode)
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c3JfOTgyMzQiLCJuYW1lIjoiQWxpY2UgU21pdGgiLCJyb2xlIjoiYWRtaW4iLCJpYXQiOjE2OTk5OTk5OTksImV4cCI6MTg5OTk5OTk5OX0.dXBkYXRlZF9leGFtcGxlX3Rva2VuX3NpZ25hdHVyZQ
Token valid until 3/17/2030, 5:46:39 PM (30287h remaining)
Header
{}
"alg": "HS256",
"typ": "JWT"
Algorithm
HS256
Type
JWT
Payload
{}
"sub": "usr_98234",
"name": "Alice Smith",
"role": "admin",
"iat": 1699999999,
"exp": 1899999999
Issued At11/14/2023, 10:13:19 PM
Expires3/17/2030, 5:46:39 PM
Subjectusr_98234
Generate New Signed JWT
Payload JSON
Secret
Algorithm
Generated Token
Generated token appears here
How to Use JWT Generator
01
Edit the payload JSON (sub, name, role, iat, exp).
02
Enter a secret signing key.
03
Copy the generated, signed JWT string.
Privacy Guarantee
JWT Generator runs 100% client-side in your web browser. Your data, passwords, keys, and files are processed using the Web Crypto API and never transmitted to any server. Zero telemetry, zero storage, zero cloud processing.
Frequently Asked Questions
Can I use this for API testing?
Yes, it is ideal for generating mock authorization headers when testing REST endpoints.
Discover More