PT Privacy Tools

PGP Encrypt, Decrypt & Sign

Generate OpenPGP key pairs, encrypt and decrypt messages, and sign or verify text with openpgp.js — entirely in your browser, no uploads.

🔒 Runs entirely in your browser — nothing is uploaded

All OpenPGP operations run locally with openpgp.js. Keys and messages are never uploaded.

Was this tool useful? Rate it:

OpenPGP in your browser, without a server

OpenPGP is the open standard behind PGP and GnuPG for end-to-end encrypted email and signed messages. This tool runs the well-audited openpgp.js library directly in your browser, so you can generate a key pair, encrypt a note for a colleague, decrypt a reply or check a signature without installing software and without anything leaving your device. Each recipient's public key encrypts the message; only the matching private key, unlocked with its passphrase, can decrypt it. Signing works the other way round: your private key produces a signature that anyone holding your public key can verify, proving the text came from you and was not changed along the way.

Choosing keys and passphrases

The default key type is elliptic-curve Curve25519 (Ed25519 for signatures, Cv25519 for encryption). It is fast, compact and widely supported by GnuPG, Thunderbird, Proton Mail and other OpenPGP clients. RSA 3072 or 4096 is available for compatibility with older systems, but generation is slower. Always protect the private key with a long, unique passphrase: the key file is encrypted with it, so a stolen backup is useless without the passphrase. Enter your real name and an email address you control, because other people will look for that user ID when they import your public key. Share the public key freely and check fingerprints with contacts through a second channel before trusting a key.

Keeping your private key safe

Your private key is created only in this page's memory and disappears when you close the tab, so download it immediately and store it in a password manager or on encrypted storage. Keep the revocation certificate somewhere separate and offline; if the key is ever lost or compromised, publishing the revocation tells everyone to stop using it. Only paste private keys into pages you trust, preferably on your own device, and clear the fields when you are done. For long-term daily use, importing the key into a dedicated client such as GnuPG, or a hardware token, gives you the strongest protection.

How to use

  1. Create or paste keysGenerate a new key pair with a strong passphrase, or paste existing armored public and private keys.
  2. Choose an actionEncrypt a message for one or more recipients, decrypt a message sent to you, or clear-sign and verify text.
  3. Copy or downloadCopy the armored result or download it as an .asc file, and back up your private key safely.

Frequently asked questions

Is my private key uploaded anywhere?
No. Keys are generated and used by openpgp.js inside this page. Nothing is sent to a server, so the only copy is the one you save.
Which key type should I choose?
ECC Curve25519 is the modern default: small, fast and supported by GnuPG 2.1+, Thunderbird and most OpenPGP apps. Choose RSA 3072 or 4096 only if you need to work with very old software.
What is the revocation certificate for?
If your private key is lost or stolen, importing and publishing the revocation certificate tells others the key must no longer be used. Store it offline, separate from the private key.
Is it compatible with GnuPG?
Yes. Keys, encrypted messages and clear-signed messages use the standard ASCII-armored OpenPGP format, so you can import them with gpg --import and use them in any OpenPGP client.