Skip to main content

RSA & EC Key Pair Generator

Press Hash or Ctrl/⌘+Enter to see the result.

0 B
Everything is processed in your browser. Nothing is uploaded.

About this tool: RSA & EC Key Pair Generator

Public-key cryptography uses a pair of keys: a private key you keep secret and a public key you share. Generate RSA, elliptic-curve (EC) or Ed25519 pairs and export them as PEM text or JWK JSON for use with SSH-style tooling, JWT signing or TLS experiments.

Common uses

  • Verifying a downloaded file against its published SHA-256 checksum
  • Producing a bcrypt hash to seed a test database
  • Generating a throwaway key pair for signing experiments

Frequently asked questions

RSA or elliptic-curve?
EC and Ed25519 keys are much smaller and faster for the same security. Use RSA when you need compatibility with older systems; 2048 bits is the minimum.
Where is the private key created?
In your browser with the Web Crypto API. It is never sent anywhere, but treat any key made on a shared machine with care.