🔐 encrypt.toolsALL TOOLS
OPENPGP · KEYGEN

PGP / OpenPGP Key Pair Generator

Generate a modern Curve25519 PGP key pair in your browser.

loading tool…
FIELD NOTES

About this tool

This generator creates a modern OpenPGP key pair using Curve25519 (fast, secure elliptic-curve cryptography) via OpenPGP.js. Enter a name and email for the user ID, optionally protect the private key with a passphrase, and receive both keys in standard ASCII-armored format.

Keys are generated inside your browser and never transmitted. Share the public key so others can encrypt messages to you; keep the private key secret to decrypt them and to sign. Use the PGP encrypt/decrypt tool to put the keys to work.

Like everything on encrypt.tools, this runs entirely in your browser — nothing you enter is transmitted or stored.

FREQUENTLY ASKED

Frequently asked questions about PGP Key Generator

Should I set a passphrase on my PGP key?+

Yes, for any key you'll keep. The passphrase encrypts your private key so a stolen key file is useless without it. Only skip it for throwaway or testing keys.

Why Curve25519 instead of RSA?+

Curve25519 keys are far smaller and faster than equivalent RSA keys while offering comparable security, and they avoid RSA's parameter pitfalls. Modern GnuPG and most PGP tools support them. RSA support may be added later.

Are these keys generated on a server?+

No. Key generation runs in your browser using OpenPGP.js and your device's secure random generator. Nothing about the key is sent anywhere — closing the tab discards it, so save the private key before leaving.

RELATED INSTRUMENTS