ToolSnippet

Generate RSA 2048-bit & 4096-bit Key Pairs

Create asymmetric RSA public and private key pairs formatted in standard SPKI and PKCS#8 PEM formats.

About This Tool

RSA (Rivest–Shamir–Adleman) is an asymmetric cryptographic algorithm used for secure data transmission, SSH keys, digital signatures, and SSL/TLS certificates.

Key Features

2048-bit and 4096-bit key generation
Standard PEM export format
Web Crypto RSA-OAEP engine
One-click copyable cards

How to Use This Tool

  1. Select your key size: 2048-bit (Standard) or 4096-bit (Maximum Security).
  2. Click 'Generate RSA Key Pair'.
  3. Copy your Public Key (SPKI PEM) and Private Key (PKCS#8 PEM).

Why Use This Tool

  • Generates standard PEM blocks (-----BEGIN PUBLIC KEY-----, -----BEGIN PRIVATE KEY-----).
  • Generated securely inside your browser's crypto sandbox with zero network requests.

Pro Tips

  • Never share your private key with anyone; only distribute your public key

Frequently Asked Questions

Should I use 2048-bit or 4096-bit RSA?

2048-bit is the industry standard and offers high security with fast operations. 4096-bit offers future-proof security but takes slightly longer to compute.

Related Tools