Nothing stored on servers·100% client-side encryption·Open source·No account required
Tools/PGP Key Generator

Generate a PGP Key Pair Online — RSA 4096-bit, Free

Create a secure OpenPGP key pair — your public key and private key — directly in your browser. Kleopatra generates RSA 4096-bit keys using the OpenPGP.js library. No server involved, no data stored.

Key generation happens in your browser onlyRSA 4096-bit — maximum securityStandard OpenPGP format — works everywhereNo server, no account, no logs

A PGP key pair consists of two mathematically linked keys: a public key you share with the world, and a private key you keep secret. Anyone can encrypt a message to you using your public key; only you can decrypt it with your private key.

RSA 4096-bit is the recommended key size for strong long-term security. Kleopatra generates your key pair entirely in your browser using cryptographically secure random number generation. The private key is stored in your browser's localStorage — it never touches our servers.

Once generated, you can export your public key as an armored .asc file to share with others, or import your private key into any OpenPGP-compatible application (GPG, ProtonMail, Thunderbird with Enigmail, and more).

Key generation typically completes in under a second on modern hardware. Your browser's Web Crypto API provides the entropy — the same APIs used by banks and secure communication platforms.

Your privacy is guaranteed by design

All cryptographic operations in Kleopatra run entirely in your browser. Nothing you type, encrypt, decrypt, or generate is ever sent to our servers. There are no server logs, no analytics on your keys, and no accounts required. The code is open-source — you can verify every claim yourself.

Frequently Asked Questions

Is it safe to generate PGP keys in a browser?

Yes, when the tool is client-side and open-source like Kleopatra. Keys are generated using your browser's secure Web Crypto API. Nothing is sent to servers.

What key size does Kleopatra generate?

Kleopatra generates RSA 4096-bit key pairs, which is the current gold standard for PGP key strength.

Can I use my generated key with other PGP tools?

Yes. Keys are standard OpenPGP format and work with GPG, ProtonMail, Thunderbird, Kleopatra desktop, and any other OpenPGP-compatible software.

How do I back up my PGP private key?

Export your private key from Kleopatra and store it securely offline — for example, in an encrypted password manager or on a USB drive kept in a safe place.

Related Tools