RSA Key Pair Generator

Generates an RSA public/private key pair in PEM format, for encrypted transport or signature verification.

Generate an RSA private/public key pair online — PEM format, 2048 to 8192 bits, for SSH, TLS or JWT RS256. No OpenSSL install, keys never leave your browser.

Steps and notes

What is RSA Key Pair Generator?

Generate an RSA key pair — private and public key in PEM format, in the key size you choose — directly in the browser. Useful for SSH keys, TLS client certificates, JWT RS256 signing setups, or anywhere you need a fresh pair without installing OpenSSL.

  1. Choose the key length (2048 bits and up)
  2. Click generate
  3. Save the private and public keys separately
  • A lost private key cannot be recovered, so store it safely — and never commit it to a repository

Frequently asked questions

Which key size should I generate?
2048 bits is the floor for compatibility; 4096 if the extra signing/verification cost is acceptable and longevity matters. Everything below 2048 exists in the tool only for testing legacy systems.
How do I keep the private key private?
Never share it, never commit it, and prefer generating it on the machine that will use it. This tool runs locally so the key is not transmitted — but anything pasted into a browser context deserves the same care as a password.
Can I use these keys for SSH?
Yes — an RSA PEM private key converts to OpenSSH format with ssh-keygen. Generate here, then run ssh-keygen -y against it to derive the public line for authorized_keys.
How do I generate an RSA key without OpenSSL?
Right here — choose a key size (2048+) and click generate; the private and public keys come out in PEM format, ready for SSH, TLS or JWT RS256, without installing anything.

Read the full step-by-step guide for this tool

Category: Crypto

Hashing & crypto workflow

Hash Generator — MD5, SHA-1, SHA-256 Online → HMAC Generator — Sign Messages with SHA-256 Online → Bcrypt → Encrypt / decrypt text → RSA Key Pair Generator → Password strength analyser → htpasswd generator and checker