PGP Encrypt Decrypt — Free Online PGP Message Encryption Tool
Encrypt and decrypt messages with PGP public/private keys using OpenPGP.js — end-to-end encryption in your browser.
Jump to tool ↓Frequently Asked Questions
PGP Encryption: End-to-End Privacy for Messages and Files
PGP (Pretty Good Privacy) has been the gold standard for end-to-end encrypted communication since Phil Zimmermann created it in 1991. It uses public-key cryptography where each person has a key pair: a public key they share openly and a private key they keep secret. Anyone can encrypt a message using your public key, but only your private key can decrypt it.
OpenPGP (RFC 4880) is the open standard that makes different PGP implementations interoperable. This tool uses openpgp.js, a JavaScript implementation of OpenPGP that works entirely in your browser. Messages encrypted here can be decrypted with GPG on the command line, Thunderbird with Enigmail, or any other OpenPGP-compatible software.
PGP internally uses hybrid encryption: the message is encrypted with a random AES session key, then the session key is encrypted with the recipient's RSA or ECC public key. This combines the speed of symmetric encryption with the key management benefits of public key cryptography.
Standards & References
Built and maintained by DevDecode. This tool processes your input in your browser; it is not uploaded for processing. Found an issue? Let us know.
Related Tools
Related Guides
Symmetric vs Asymmetric Encryption: What's the Difference?
Symmetric encryption uses one shared key; asymmetric uses a public/private key pair. Learn how each works, their speed trade-offs, and why TLS and PGP use both.
EncryptionWhat Is PGP Encryption and How Does It Work?
PGP encrypts emails and files using a public/private key pair. Learn how PGP works, what a PGP key is, the difference between PGP and GPG, and how to start.