About the PGP Message Encryptor
Pretty Good Privacy (PGP) is a standard that uses public and private keys so that only the intended recipient can read a message. Setting up GnuPG locally just for a quick test can be more work than it is worth. This PGP Message Encryptor gives you an easy way to perform standard operations, like encrypting a message with a recipient's public key.
Built using the trusted OpenPGP.js library, this utility runs your data through standard encryption algorithms in your browser's local environment. While OpenPGP.js provides excellent client-side cryptography, we only recommend this utility for testing and development. The tool makes a clear security warning that you should never paste a real private key with a valuable passphrase into any online tool.
Key Features of PGP Message Encryptor
- OpenPGP.js: Encryption is done in your browser with the widely used OpenPGP.js library.
- Client-Side ProcessingRuns locally. The interface makes it clear that you're using your computer to process messages, keys, and files - nothing gets uploaded or sent anywhere.
- Armored Format SupportBuilt to handle standard ASCII-armored text. You can drop in the standard block format that comes with a -----BEGIN PGP PUBLIC KEY BLOCK----- prefix.
- Security-First TransparencyMakes clear and honest security warnings. The main panel displays an orange warning banner that says "For testing only. Never paste a real private key with a valuable passphrase into any online tool".
- Flexible ModesUse the "Mode" dropdown menu to choose the required operation. You can encrypt a plain text message with a recipient's public key, for instance.
How to Use PGP Message Encryptor
- Pick your preferred operation from the "Mode" dropdown menu. Choose something like "Encrypt message with recipient public key".
- Paste in the target recipient's armored public key. The utility will run this through standard encryption algorithms via OpenPGP.js.
- Type or paste your plain text message into the primary "Message" input.
- Press the purple "Encrypt" button to run the encrypted message through OpenPGP.js.
- Hit "Copy" to save the resulting armored message to your computer's clipboard. Use the "Clear" button to reset the utility for your next test run.
PGP Message Encryptor Examples
A message encrypted with the built-in sample public key; the first lines are shown. The output differs on every run.
Sample public key Message: Hello from Varkido! This is a sample PGP-encrypted message.
-----BEGIN PGP MESSAGE----- Version: OpenPGP.js v4.10.10 Comment: https://openpgpjs.org … -----END PGP MESSAGE-----