JWT Signer
JWTSign JWTs with HS256/RS256
This is the counterpart to JWT Decoder: instead of inspecting an existing token, you fill in header and payload claims and actually sign one, either with HS256 and a shared secret for a quick test against an API expecting bearer tokens, or with RS256 and a private key to mirror how a production auth server issues tokens for staging tests. Signing happens entirely in the browser, so secrets and private keys never leave your machine, but that's also the reason this isn't meant for real token issuance; production auth should run server-side with proper key storage and lifecycle management, not in a browser tab. The HS256/RS256 distinction matters operationally: HS256 uses one shared secret for both signing and verification, while RS256 splits signing (private key) from verification (public key), which is the safer choice when multiple services need to check tokens without being able to mint new ones.
How to use JWT Signer
- 1.Fill in header and payload claims, choose HS256 with a shared secret, and generate a signed JWT for testing an API that expects bearer tokens.
- 2.Switch to RS256 and paste a private key to sign tokens the way your production auth server would, for staging environment tests.
- 3.Use the signed token immediately in the JWT Decode tool to confirm the claims (exp, roles, sub) look exactly as your backend expects.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/jwt-sign \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"payload":{"sub":"user123","role":"admin"},"secret":"my-secret","expiresIn":3600}'Get an API key from your dashboard · Full API docs →