Skip to main content

Encrypt messages with PGP in your browser

Encrypt any text to a recipient using their OpenPGP public key. Runs entirely client-side — no server, no plaintext leaves your device.

PGP message encryption uses the recipient's public key to encrypt content that only they can decrypt with their matching private key. Paste their public key (the .asc block starting with -----BEGIN PGP PUBLIC KEY BLOCK-----) into the key field, type or paste your message, and click Encrypt. The output is a self-contained PGP message you can send over any channel — email, chat, paste service, anywhere — without worrying about the medium.

Encryption is asymmetric: only the holder of the corresponding private key can read the result. Even if an attacker intercepts the ciphertext, they cannot decrypt it without the recipient's private key. This is the same encryption model as GnuPG, ProtonMail, and any standard OpenPGP client.

If you don't yet have the recipient's public key, the Key Inspector tool can fetch it from a public keyserver by email address (when air-gap mode is off). For passphrase-only encryption without a keypair, use Symmetric Encrypt instead. For files, use File Encrypt.

Frequently asked questions

What is a PGP public key?
A PGP public key is a block of armored ASCII text (starts with "-----BEGIN PGP PUBLIC KEY BLOCK-----") that you can share freely. Anyone can use it to encrypt a message that only the owner of the matching private key can decrypt.
Can I encrypt to multiple recipients?
Yes — paste several public keys separated by blank lines. The same ciphertext will be decryptable by anyone holding any of the corresponding private keys.
Does PGP Tool send my message anywhere?
No. The page never makes a network request during encryption. Everything runs client-side in your browser via OpenPGP.js. You can verify this by enabling air-gap mode, which blocks every outbound request.
What is the difference between encrypt and sign?
Encrypt protects content so only the recipient can read it. Sign cryptographically proves you authored the content but does not hide it. You can do both together — sign-then-encrypt — to get authenticity and confidentiality at the same time.
How big can my message be?
There is no hard limit, but very large texts will be slow to render. For binary files of any size, use File Encrypt or Batch Encrypt instead.