Security & Crypto Tools
PGP Key Pair Generator
Generate a PGP key pair with openpgp.js.
Loading tool…
What is PGP Keys?
A PGP key generator powered by openpgp.js that produces armored public and private key blocks for email encryption and signing.
How it works
openpgp.js generates the key pair and returns armored blocks, which you copy into your PGP client or store securely.
- Enter your input. Type or paste your input into the field above — the tool responds instantly.
- Review the result. Output updates live as you type. Everything runs entirely in your browser.
- Copy or download. Use the Copy button to grab the result, or Download to save it as a file.
Examples
Encryption identity
Generate an RSA PGP key pair with your name and email identity for signing and encrypting.
Common mistakes
Losing the private key
The private key can't be recovered — export and back it up, ideally with a passphrase and a revocation certificate.
Frequently asked questions
What identity details are used?
Name and email become the key's user ID, which is what recipients see when they import your key.
Can I set an expiry?
Yes — an optional expiration date is encoded in the key; the tool warns when you pick none.