How to use Key Pair Generator
- Choose the key type.
- Click Generate to make a new pair.
- Copy the private and public keys into separate files.
About Key Pair Generator
Many APIs ask for a public key, and many signing schemes need a private one. This tool creates a fresh pair with the Web Crypto API of your browser. The private key is shown in PKCS#8 format and the public key in SPKI format, both as PEM text you can copy into a file.
The keys are created on your device and are never sent to a server. Even so, keep a private key secret, and for production systems prefer keys made on the machine that will use them. RSA 4096 can take a few seconds to generate.