JWT Signer — Browser HS256 Token Generator

Developer

A JWT signer is a browser developer tool that base64url-encodes JSON header and payload values, then appends an HMAC-SHA256 signature to create an HS256 JSON Web Token.

What is it

A JWT (JSON Web Token) has three dot-separated parts: header, payload, and signature. This tool supports only the common symmetric HS256 algorithm. It normalizes the header and payload JSON, then signs the input with the browser Web Crypto API. It is useful for test tokens, documentation examples, and local debugging, but avoid pasting production secrets on shared devices or during screen sharing.

JWT = base64url(header JSON) + "." + base64url(payload JSON) + "." + base64url(HMAC-SHA256(secret, signingInput))

How to use

  1. 1Review the header JSON. alg is fixed to HS256.
  2. 2Enter the payload JSON and secret.
  3. 3Generate the token, then verify it with a JWT decoder or your server validation logic.

Reference

JWT Signer — Browser HS256 Token Generator Reference
FieldValueNotes
algHS256HMAC-SHA256 symmetric signature
typJWTtoken type
secretstringshared signing secret, used only in this browser

Sources & standards

FAQ

Is the JWT secret sent to a server?

No. Signing uses the browser Web Crypto API; the secret and payload are not sent to or stored on a server.

Does it support RS256 or ES256?

No. This scoped tool supports HS256 only to keep key handling and bundle size small. RSA/ECDSA signing belongs in a separate tool.

Can I use generated tokens directly in production?

This does not replace your production token issuing policy. Validate issuer, audience, expiry, rotation, and revocation on the server.

Related tools