RSA Key Pair Generator Online (2048/4096, PEM)
Generate an RSA keypair (2048/4096) in PEM format right in your browser, no server involved.
Keys generated locally (Web Crypto). The private key never leaves your browser — do not share it.
🔒 100% client-side — no data sent
Generate an RSA 2048 or 4096-bit key pair in PEM format right in your browser. Everything runs on the Web Crypto API, so keys are created 100% locally and never sent to a server. A quick way to get a public and private key without installing OpenSSL.
What is it for?
- ▸ Create an RSA key for SSH or API authentication
- ▸ Generate a private and public key to sign JWTs (RS256)
- ▸ Produce a test key pair for asymmetric encryption
- ▸ Get a PEM file without installing OpenSSL locally
FAQ
RSA 2048 or 4096: which key size should I choose?
RSA 2048-bit is still secure and fast for most everyday uses (TLS, JWT, SSH). Choose 4096-bit when you want extra long-term security margin, at the cost of slightly slower generation and operations.
Are my RSA keys sent to a server?
No. The key pair is generated locally by your browser using the Web Crypto API. Nothing is transmitted to or stored on our servers, so you can handle sensitive keys with full privacy.
What is the difference between the public and private key?
The public key can be shared freely to encrypt data or verify a signature. The private key must stay secret: it is used to decrypt or to sign. Never share your private PEM key.