Generate the key pair
Select Generate Key Pair. A fresh public and private key appears, generated in your browser.
Create an RSA public and private key pair in your browser, export both as PEM, import keys you already have, and encrypt or decrypt text without sending a single key to a server.
A fresh pair in one click, generated entirely on your device.
Select Generate Key Pair. A fresh public and private key appears, generated in your browser.
Export the private key and the public key as PEM files, or copy them into a password manager or a configuration file.
Type a message and select Encrypt to protect it with the public key, then select Decrypt to read it back with the private key.
Two keys, two jobs, and only one of them should ever be shared.
| Key | Used for | Share it? |
|---|---|---|
| Public key | Encrypting a message that only the private key holder can read | Yes, freely |
| Private key | Decrypting messages and proving ownership of the pair | Never |
| PEM export | Saving either key as a text file for servers, clients and libraries | Only the public key |
Message size limit: RSA can only encrypt data shorter than the key size minus the padding overhead. For larger data, encrypt the content with a symmetric key and use RSA to protect that key instead.
A comfortable way to try asymmetric encryption without installing anything.
Generate a matching public and private key without opening a terminal or installing a library.
Save each key as a PEM file you can drop into a server configuration or a deployment secret.
Paste an existing key pair in PEM format and use it for the encryption and decryption on this page.
Generation and encryption run in your browser, so no key and no plaintext is uploaded anywhere.
No. Key generation, encryption and decryption run with JavaScript in your browser. Private keys never leave your device and 73hi stores nothing.
Yes. Select Import Keys, paste the public and private key in PEM format and load them to use the pair on this page.
The public key encrypts and can be shared freely. The private key decrypts and must stay secret, because anyone holding it can read the messages.
RSA can only encrypt data shorter than the key size minus the padding overhead. Real systems encrypt the data with a symmetric key and use RSA only to protect that key, which is the recommended pattern for anything larger than a short message.
Use it for testing, learning and one-off messages. Production systems should generate keys with a vetted library such as OpenSSL and follow current key size and padding recommendations.
Yes. Key generation and encryption work in any modern mobile browser, although it is easier to copy long PEM blocks on a desktop.