RSA Key Pair Generator

Free online RSA key pair generator. Generate RSA 2048-bit or 4096-bit public and private key pairs in PKCS#8 format directly in your browser. — runs 100% in your browser, client-side only. No data is sent to any server. Free to use, no account required.

Free Client-Side No Login No Storage
Loading tool...

How to Use the RSA Key Pair Generator

  1. Select the key size (2048 or 4096 bits).
  2. Choose the hash algorithm (SHA-256, SHA-384, or SHA-512).
  3. Click Generate Key Pair to create the RSA public and private keys.
  4. Copy or download the keys as .pem files.

RSA key generation uses the Web Crypto API for secure, browser-native key pair creation. Private keys never leave your browser. Use 4096-bit keys for maximum security.

What is RSA Key Pair Generator?

RSA is an asymmetric cryptographic algorithm that generates a public/private key pair. Public keys encrypt data; private keys decrypt it. RSA keys are used in SSH authentication, SSL certificates, JWT signing, and API security.

Common Uses

  • Generating SSH key pairs for server access
  • Creating keys for JWT RS256 signing
  • Testing asymmetric encryption implementations
  • Generating self-signed certificate keys

Frequently Asked Questions

What is RSA Key Generation?

RSA is an asymmetric cryptographic algorithm that generates a public/private key pair. Public keys encrypt data; private keys decrypt it. RSA keys are used in SSH authentication, SSL certificates, JWT signing, and API security.

Why use CipherKit?

Private key generation must never happen on a remote server — the server could log or store your key. CipherKit generates RSA key pairs entirely in your browser using the Web Crypto API. Your private key never leaves your device.

When to use

Generating SSH key pairs for server access, creating keys for JWT RS256 signing, testing asymmetric encryption implementations, or generating self-signed certificate keys.