JWT Signer & Verifier

JWT Signer & Verifier creates a JWT from a header and payload (HS256/384/512, RS256/384/512, ES256/384/512) and verifies the signature of an existing JWT, also checking the exp and nbf claims. You can generate RSA and ECDSA key pairs. Keys never leave your browser.

Secret

Keys never leave your browser and are never added to the share link.

How it works

  1. 1Pick "Sign" or "Verify" and choose the algorithm.
  2. 2When signing, edit the header and payload JSON; when verifying, paste the JWT.
  3. 3Enter the secret for HS, or the PEM key for RS/ES (use "Generate key pair" to create one).
  4. 4Copy the signed JWT, or read the verification result and payload.

Frequently asked questions

Do I have to write the alg in the header myself?+

No, the algorithm you pick is written into the header automatically.

What format must RS/ES keys have?+

A PKCS#8 private key (BEGIN PRIVATE KEY) to sign and an SPKI public key (BEGIN PUBLIC KEY) to verify. Convert the old RSA PRIVATE KEY format to PKCS#8 first.

Is an expired token treated as valid?+

If the signature is correct it shows "signature valid" and warns separately that it has expired; you must still enforce expiry on your server.

Does my secret end up in the share link?+

No, keys are held in memory only.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/security/jwt-signer-verifier/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="JWT Signer & Verifier · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Encoding and Security Guide →

Command Palette

Search for a command to run…