CT

CodeTools

Home/Tools/RSA Key Pair Generator
Tools

RSA Key Pair Generator

Generate RSA public/private key pairs (2048 or 4096 bits) directly in your browser. Export keys in PEM format.

2048-bit: Standard security, fast generation. Suitable for most applications.
🔐

Select key size and click Generate

Key generation uses browser Web Crypto API. Your keys never leave your device.

How to use this tool

Generate temporary RSA key pairs for local development, test fixtures, and cryptography experiments.

Suggested workflow

  1. Choose the key size required by the test environment.
  2. Generate a fresh pair.
  3. Copy or download the public and private key only for the intended test.

Good to know

Do not use generated browser keys as long-lived production credentials without an approved key-management process.

RSA Key Pair Generator - CodeTools Toolbox - 47 free online developer tools.