How to use
- Choose a key size: 2048 bits for general use or 4096 bits for higher security.
- Click 'Generate key pair'; the browser's Web Crypto API generates the keys locally.
- Copy the public key PEM from the first output box to share with servers or services.
- Copy the private key PEM from the second output box and store it securely.
- The private key never leaves this page — all generation runs in your browser.
Examples
- Selecting 2048 bits and clicking Generate produces a -----BEGIN PUBLIC KEY----- block and a -----BEGIN PRIVATE KEY----- block within a few seconds.
- Selecting 4096 bits takes a moment longer but produces a significantly longer private key suitable for long-lived certificates.