RSA Key Generator — Create an RSA key pair without installing anything. Choose a size, generate, and you get a private key and a public key as PEM text you can copy or download.
Key pairs are generated in this browser tab and never leave it. Nothing is stored and nothing is sent anywhere.
Was RSA Key Generator useful?
What is RSA Key Generator?
Create an RSA key pair without installing anything. Choose a size, generate, and you get a private key and a public key as PEM text you can copy or download.
2048 bits is the size payment providers ask for. 3072 is a reasonable step up; 4096 takes noticeably longer to generate.
How to use it
-
Choose a size
2048-bit is the usual choice for API registration.
-
Generate
The key pair is created in this tab.
-
Copy or download
Keep the private key secret; share the public key.
Frequently asked questions
Related tools
RSA Signature Generator (SHA256withRSA)
Sign a string with your RSA private key and get the Base64 signature. Accepts PKCS#8 and PKCS#1 keys.
RSA Signature Verifier
Check whether a Base64 RSA signature is valid for a message and public key. SHA256withRSA and PSS supported.
SNAP / QRIS Request Signer
Build the stringToSign and X-SIGNATURE for Indonesian payment APIs. Handles the B2B token and transactional forms.
Password Generator
Create strong, random passwords with custom length and character sets — right in your browser.
Last reviewed: 2026-10-22