Craft signed JWTs locally — pairs with our decoder for testing.
🔑 Test-only tool: HS* secrets live client-side here, never ship them in front-end code. For RS256/ES256 use a server-side library — asymmetric signing needs the private key kept private.
Perfect for debugging auth flows: mint a token with known claims, hand it to your API in a test request, and inspect what your middleware extracts. Pair with our JWT Decoder to see exactly what a server will read back.
HS256/384/512 are symmetric — the same secret signs and verifies. That is why this tool works fully client-side: the secret stays in your browser via WebCrypto. RS256/ES256 need a private key and belong in server-side code.
Always set exp (expiry) on real tokens; add iss (issuer) and aud (audience) when multiple services share tokens. The iat timestamp is pre-filled to now for you.
A signing key embedded in front-end JavaScript is public the moment you deploy. Use this generator with throwaway test secrets only.
More tools you might find useful
Press any key — see key, code, keyCode, and modifiers live.
LED, supply, and target current in - ideal and E12 resistor out.
Grep-style filtering for logs — keyword, level, or regex.
Generate placeholder text for mockups and designs.