ToolBunny LogoToolBunny
Back to Homepage
RSA Key Pair Generator

Create secure public and private RSA keys without a server.

Keys are generated exclusively on your local machine via the Web Crypto API. No data is sent to or stored on any server.

About This Tool

The RSA Key Pair Generator allows developers and security enthusiasts to quickly generate mathematically linked public/private key pairs. These keys are fundamental for secure communication, SSH authentication, and payload encryption. Crucially, this tool utilizes the native window.crypto.subtle cryptographic API inherent to modern browsers to compute the prime calculations entirely locally on your machine. Your private key is never transmitted over the internet or logged on any server.

How to Use
  1. Select the desired Bit length for your RSA key. Note: 2048-bit is the standard minimum for most secure applications today, but 4096-bit provides maximum future-proof security (at the cost of longer generation time).
  2. Click the "Generate RSA Key Pair" button.
  3. Wait a moment as your browser computes the underlying prime math.
  4. Once finished, your Public Key (PKCS#8 SPKI format) and Private Key (PKCS#8 format) will be displayed in standard PEM base64 format.
  5. Use the Copy buttons to grab your keys for your infrastructure or application. Ensure you keep the Private Key absolutely secret!