DataToolsLab
Security & Crypto Tools

PGP Encrypt / Decrypt Tool

Encrypt and decrypt messages with PGP keys.

Loading tool…

What is PGP Encrypt?

A two-mode PGP tool: encrypt a message to a recipient's public key, or decrypt an armored message with a private key and passphrase.

How it works

Encryption and decryption run locally with openpgp.js; keys are parsed from armored blocks and never leave the browser.

  1. Enter your input. Type or paste your input into the field above — the tool responds instantly.
  2. Review the result. Output updates live as you type. Everything runs entirely in your browser.
  3. Copy or download. Use the Copy button to grab the result, or Download to save it as a file.

Examples

Encrypting to a recipient

Encrypt a message with a recipient's public key so only they can read it — or decrypt a message with your private key.

Common mistakes

Encrypting to yourself

To read a message you encrypt, include your own public key in the recipient list.

Frequently asked questions

What is ASCII-armored output?

The base64 text form of OpenPGP data that survives email and chat — as opposed to raw binary.

Is the private key ever uploaded?

No — decryption happens locally in your browser; the private key never leaves your device.

Online