RSA Key Generator
Generate secure 1024, 2048, or 4096-bit asymmetric RSA key pairs in PEM format.
Key Pair Configuration
Public Key
Private Key
About this Tool
RSA (Rivest-Shamir-Adleman) is a public-key cryptosystem that is widely used for secure data transmission. Unlike symmetric algorithms (like AES) where the same key locks and unlocks the data, RSA uses an asymmetric key pair.
The Public Key can be shared openly with anyone. They use it to encrypt a message. However, once encrypted, that message can only be decrypted by the mathematically linked Private Key, which must be kept completely secret.
How to Use
Select Key Size
Choose your bit length. 2048-bit is the current industry standard. 4096-bit is highly secure but will take several seconds to generate in your browser.
Generate Key Pair
Click generate. Your browser will perform complex prime-number mathematics locally to construct a cryptographically secure PEM-formatted pair.
Securely Store Keys
Copy your Private Key and store it in a secure vault. You can safely share the Public Key with external services (like GitHub or remote servers).