Tool

RSA Key Generator

Generate RSA public/private key pairs in PEM format for RS256 JWT signing.

Last updated July 1, 2026

Runs entirely in your browser — no data sent to servers. Privacy policy
Prove it runs locally
  1. Open DevTools → Network tab
  2. Click Generate
  3. Confirm zero outbound requests for the secret

Generation uses crypto.getRandomValues() in your browser. Privacy policy

Advertisement

How to Use This Tool

Select key size: 2048-bit for standard production use, 4096-bit for high-security or long-lived keys.

Click Generate to create an RSA key pair using the Web Crypto API in your browser.

Copy the public key PEM for verifiers and JWKS endpoints. Store the private key in a secrets manager — never commit it.

Use the private key with your JWT library to sign RS256 tokens.

Continue learning