Skip to main content
Uttir

RSA Key Generator

Generate an RSA key pair in your browser. 2048, 3072 or 4096 bits, exported as PEM — nothing is uploaded.

RSA Key Generator — Create an RSA key pair without installing anything. Choose a size, generate, and you get a private key and a public key as PEM text you can copy or download.

Key pairs are generated in this browser tab and never leave it. Nothing is stored and nothing is sent anywhere.

Was RSA Key Generator useful?

What is RSA Key Generator?

Create an RSA key pair without installing anything. Choose a size, generate, and you get a private key and a public key as PEM text you can copy or download.

2048 bits is the size payment providers ask for. 3072 is a reasonable step up; 4096 takes noticeably longer to generate.

How to use it

  1. Choose a size

    2048-bit is the usual choice for API registration.

  2. Generate

    The key pair is created in this tab.

  3. Copy or download

    Keep the private key secret; share the public key.

Examples

Generate a 2048-bit PKCS#8 signing key pair

Create browser-side RSA keys via Web Crypto API for JWT RS256 or webhook signing tests.

Key size: 2048 bits | Algorithm: RSASSA-PKCS1-v1_5 / SHA-256

Result: -----BEGIN PUBLIC KEY----- and -----BEGIN PRIVATE KEY----- PEM blocks ready to copy or download.

Generate a 4096-bit key pair for long-lived staging environments

Produce higher-modulus PEM keys completely offline on your machine.

Key size: 4096 bits

Result: Matched 4096-bit public/private PEM pair verifiable with RSA Sign & Verify.

Frequently asked questions

Related guides

Related tools