RSA Key Generator is a free online tool that creates RSA public/private key pairs for encryption, signing, and authentication. Generate 2048 or 4096-bit keys in PEM format using the Web Crypto API. All key generation happens locally in your browser — your private keys never leave your device.
Configure settings above and generate a key pair
RSA Key Generator is a free online tool that creates RSA public/private key pairs for encryption, signing, and authentication. Generate 2048 or 4096-bit keys in PEM format using the Web Crypto API. All key generation happens locally in your browser — your private keys never leave your device.
Choose key size
Select 2048 bits (faster, standard security) or 4096 bits (higher security, slower generation).
Generate the key pair
Click the generate button. Key generation may take a few seconds depending on the key size.
Copy or download
Copy the public and private keys to your clipboard, or download them as .pem files.
Keep your private key safe
Store the private key securely. Never share it publicly or commit it to version control.