Sign a JSON Web Token with HMAC-SHA256 from your header, payload and secret — output verifiable against jwt.io.. JWT Generator (HS256) is a free online tool from the ToolsRift Developer Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading JWT Generator (HS256)…
How to use JWT Generator (HS256)
Edit the header and payload JSON, enter a secret, and the tool Base64URL-encodes both segments and signs them with HMAC-SHA256 to produce a complete JWT.
Frequently asked questions
What is HS256?
HMAC using SHA-256 — a symmetric signing algorithm where the same secret both signs and verifies the token.
How do I verify the generated token?
Paste the token and the same secret into jwt.io or a JWT debugger; a matching signature confirms it was signed correctly.
Should I use this for production tokens?
Use it for testing and learning. In production, generate and sign tokens server-side so the secret is never exposed to the browser.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.