PGP Encryption Tool

Encrypt data with PGP online. Configure the key and algorithm options, check input formats and download the result directly from your browser.

Free · No sign-up required

Text input

Your result is ready to copy or download after running.

Tool options

About PGP Encryption Tool

Input: the message you want to encrypt. Arguments: the ASCII-armoured PGP public key of the recipient. Pretty Good Privacy is an encryption standard (OpenPGP) used for encrypting, decrypting, and signing messages. This function uses the Keybase implementation of PGP.

Input: text. Output: text.

Format reference: PGP Encrypt background and specification

Example

Use “Try example” to load this public sample and its settings, then run it.

Settings used in this example
ParameterExample valueInput and choices
Public key of recipient"-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nmQENBGrKI1UBCACUY3CAgT4qj6mqPnh1q2M4W2pYMbxaywwZqpiuKlU6AYGquw4i\nl0urRjNOy4Efk9/D5hQyjt1GhEzjOKr3/yG23Mh1q9nh8XEQnwoPfnFIX8gYiQfA\n9yMhIFS5ccKYjHEkiPryPw46zu00qIJ0J9ZWiH25TWwD8I7c+tIRhdTcU8PZqoK1\n7gBjWEtLoSq2XxfxO4YfEv1+PwUPf0//PbpSCTWR7lv9B5OoE76C9DEiZ/+DDyV/\ndy3IJVsJ1S49XpEwbET3zhiU2yeoaLhRbk8CP9bShQQIA69O0+dl+2kPVp3m3jGj\nVINDz4noalp1GQQE1TXkF6Ap6xkY4X8BoeuTABEBAAG0I1dlYk1DUCBFMkUgPHdl\nYm1jcEBleGFtcGxlLmludmFsaWQ+iQFtBBMBCABXFiEEKNtZZUnbpyHhH9OL7gHc\n5kBJ0ToFAmrKI1UbFIAAAAAABAAObWFudTIsMi41KzEuMTIsMCwzAhsPBQsJCAcC\nAiICBhUKCQgLAgQWAgMBAh4HAheAAAoJEO4B3OZASdE65dAIAJOAGFZRBmQkMaBG\nRx8YLietdQGEXsw0QLYukD9apfDUHhMFikQQXJ1zeVR7HiYKo9iWvPuhorV5qAmX\nRtdOxSo3l5EyzQmc7XPDjVSNG4igfVwlAPtkUWblAgVESABdPZybe76FaVkl9dZ+\nVyiA6CHvWUUWMJpRo4ehUILT0BBoH22Y4+HB7jCXO8D6uDX6uQYYr7iLORYIo7n2\navaVnhdcxr5IFak/99FyRshWA2c/wlt+pBEC9BQLtXHkO4DDuWchArL230Vrw1aM\nbsgyDlyppaVaN6usEGCua1ZHzudADdefqp95/ywnnIp9tkYTmPWFttOZ7ADBLB4K\nCFtINVs=\n=vloO\n-----END PGP PUBLIC KEY BLOCK-----\n"Text

Sample keys and passwords are public. Never use them to protect real data.

Input

Serialize PGP fixture: café 数据 🔒

Result

The example demonstrates the configured operation. Generated values, timestamps or formatting may vary between runs.

Parameters

ParameterDefault valueInput and choices
Public key of recipient""Text

Before interpreting the result

Parsing a certificate shows its fields; it does not establish trust in the issuer or validate a certificate chain. Signing and verification require the algorithm and key format expected by the other party.

How to use this page

  1. Paste your input or open a local file.
  2. Adjust tool options if needed, then choose Run tool.
  3. Copy the result or download the original output bytes.

Inputs and results are not added to the public catalogue or saved in the URL. Processing happens in your browser; HTTP Request and DNS over HTTPS send the requests you explicitly run. Files up to 128 MiB can be opened; decompression and image tools may have smaller processing limits. Large results have a shortened preview. Text and HTML downloads use UTF-8; binary downloads preserve output bytes. Pasted text follows browser newline handling; open a file when exact input bytes matter.

Related tools

Browse public key tools