Skip to content
NSNormandin SystemsTHE EVERYDAY TOOLBOXMain site
⌑

Security / YOUR EVERYDAY TOOLBOX

RSA key pair generator

Generate new random RSA private and public keys (with or without passphrase).

✓ Free to use✓ No account neededHow to use this tool ↓
YOUR WORKSPACESee an example ↗

Opening your tool…

Runs in your browser. Check important results and keep a copy of your original files.

THE PRACTICAL GUIDE · NORMANDIN SYSTEMS

Get more from RSA key pair generator

RSA key pair generator: Generate new random RSA private and public keys (with or without passphrase). RSA key generation produces material that can be used in supported signing or encryption protocols, depending on the surrounding design. A public-key pair contains related pieces with different roles. The private key must remain protected; the public key can be shared for the operations supported by the chosen algorithm. Key generation is only the start of a lifecycle that also includes format compatibility, distribution, backup, rotation, and revocation or replacement. Use disposable keys to confirm that an application accepts the generated format before creating material for a real deployment. Keep enough metadata to identify the algorithm and intended use, and never assume that two applications accept the same key container.

Guide updated October 13, 2026

How to use this tool

  1. Begin with a representative input. For a practical test, use: A supported RSA key size and optional disposable passphrase. Replace demonstration values only after you understand the output.
  2. Choose the key algorithm settings and any passphrase option exposed by the generator, using test values for an initial compatibility check.
  3. Generate the pair and distinguish the public output from the private output by their labels and format headers.
  4. Import a disposable pair into the intended application, test the intended operation, and then store any real private material securely.

SEE IT IN PRACTICE

A worked example

EXAMPLE INPUT
A supported RSA key size and optional disposable passphrase
RESULT / WHAT TO EXPECT
An RSA private key and matching public key

Confirm the receiving system’s accepted key size and PEM/container format before generating a long-lived pair.

Choose the key for a defined use

Start with the receiving application’s requirements rather than generating the largest or newest-looking option. A signing workflow needs a supported signature algorithm and key representation. Encryption may require a different key type or protocol. Elliptic-curve names and RSA sizes are part of that compatibility decision. Test a disposable export and import before creating a key that will be difficult to replace.

Plan the key’s lifecycle

Record purpose, owner, creation context, and any expiration policy without exposing the private material. Decide how the public key will be distributed and verified, how the private key will be backed up, and how a compromised or lost key will be replaced. A passphrase can protect a stored private-key file, but it does not remove the need for controlled access and recovery planning.

When this tool is useful

  • Generate RSA test fixtures
  • Check key import formats
  • Explore protected private-key export

Tips for a better result

  • A key size alone does not define a secure protocol; padding, algorithms, and key handling also matter.
  • Protect the private key and any passphrase separately from files or messages intended for public distribution.
  • A public-key fingerprint is useful for comparing keys, but the comparison is meaningful only through a trusted channel.

Frequently asked questions

Why can two keys with the same algorithm label use different file formats?

The mathematical key type and its container are separate layers. Applications may expect different PEM labels, OpenPGP packets, or other serialization formats even when the underlying algorithm is compatible.

Why does a program reject a generated key?

It may require a different algorithm, curve, key size, PEM label, or container format. Check the destination’s import requirements and test with a disposable key before committing to a format.

What happens if the private key is lost?

The public key generally cannot reconstruct it. Depending on the use, losing a private key can prevent decryption, signing, or authentication. Plan appropriate backup and replacement procedures before relying on a key.

What happens to the information I enter?

The utility processes your input in this browser. Some tools retain field values in browser storage or the URL; avoid entering secrets in shareable fields. Page and asset requests still go to the hosting provider. Read the privacy and offline-use notes for details.