PGP Key Generator
Generate a PGP/OpenPGP public and private key pair.
Browser-side processing
This tool is designed to process your input on your device. Some operations download additional code when first used, so loading the page alone does not guarantee offline availability. Review the tool's disclosures and use your browser's Network tab to distinguish dependency downloads from requests containing input.
About the PGP Key Generator
Generate a PGP (OpenPGP) key pair for encrypting messages and files or signing them.
Choose modern ECC (Curve25519) or RSA 4096, add a name, email and optional passphrase, and get armored keys.
Keys are generated in your browser with OpenPGP.js and never leave your device.
Key features
- ECC (Curve25519) or RSA 4096 keys
- Optional name, email and passphrase
- Armored public and private keys
- Runs entirely in your browser
How to use
- 1Enter a name, email and optional passphrase.
- 2Choose the key type and generate.
- 3Copy the public and private keys.
Examples
name, email, passphraseArmored public and private keysCurve25519 keys are short and fast.
RSA 4096Larger, widely compatible keysChoose RSA where a system needs it.
Frequently asked questions
- Should I set a passphrase?
- Yes, for real use. The passphrase encrypts your private key so it is useless to anyone who copies it without the passphrase.
- ECC or RSA?
- ECC (Curve25519) is modern, fast and has small keys. RSA 4096 is widely compatible but slower. Choose ECC unless a system requires RSA.
- Are the keys uploaded?
- No. They are generated locally with OpenPGP.js. You can verify this by disconnecting your internet after the page loads.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Security & CryptographyPGP Encrypt & Decrypt
Encrypt a message with a PGP public key and decrypt with a private key.
Open tool - Security & CryptographyRSA Key Pair Generator
Generate an RSA public and private key pair in PEM format.
Open tool - Security & CryptographyECDSA Key Pair Generator
Generate an ECDSA public and private key pair in PEM format.
Open tool
