EC Key Pair Generator
Generate an elliptic-curve key pair (P-256/384/521) in PEM. All values are generated on your device using a cryptographically secure random generator — nothing is sent to a server.
Everything runs in your browser. Your data is never sent to our servers.
Example
Example Input
(click Generate)
Example Output
-----BEGIN PUBLIC KEY----- … (EC)
How to Use
- 1Open "More settings" to adjust parameters (e.g. size/length) if needed.
- 2Click the Generate button.
- 3Copy the result with the Copy button.
About EC Key Pair
Elliptic-curve (EC) keys provide RSA-equivalent security with much smaller sizes and faster operations. P-256 is the most common choice and sufficient for nearly all needs.
This tool generates an EC key pair via Web Crypto and exports it as PEM (SPKI public, PKCS#8 private). Pick the curve for your security/compatibility needs.
Use this pair for ECDSA (signatures) or ECDH (key exchange). Like RSA, keep the private key secret.
FAQ
Are my data or keys sent to a server?
No. EC Key Pair runs entirely in your browser using the Web Crypto API and client-side libraries. Your data, passwords, and keys never leave your device.