GALAXY OF TOOLS

SECURITY SECTOR

PGP Encryption and Decryption Online

Encrypt, decrypt, sign and verify PGP messages and files, and generate a key pair — all in your browser.

Used only in this tab, never stored.

Your private key and passphrase stay in this tab and are wiped when you clear or close it. Never paste your private key into a website you do not trust — this page works offline once loaded, which you can check by disconnecting before you use it. Uses OpenPGP.js 6.2.2 (LGPL-3.0), loaded unmodified from jsDelivr on first use.

Runs in your browser. The OpenPGP.js library (LGPL-3.0) is downloaded from jsDelivr when you first press a button; your keys, passphrases, messages and files are never uploaded or stored.

PGP encryption online, without sending your keys anywhere

This PGP encryption tool does the four everyday OpenPGP jobs in your browser: encrypt a message or file to someone’s public key, decrypt what was sent to you, sign text so others can prove it came from you, and verify a signature. It also generates a PGP key pair when you need one.

It uses OpenPGP.js, the open-source library behind several encrypted-mail services, and produces standard ASCII-armored output that GnuPG, Kleopatra, Thunderbird and other OpenPGP software read. The library is loaded the first time you press a button; after that the page makes no network requests, and your private key, passphrase and messages are never uploaded or saved.

How to use the PGP Encrypt & Decrypt

  1. No keys yet? Open Generate keys, enter a name or email and a passphrase, and press Generate key pair. Download both keys and the revocation certificate, and share only the public key.
  2. To encrypt, paste the recipient’s public key and your message (or choose File), then press Encrypt message. Add your private key and passphrase if you want to sign it too.
  3. To decrypt, paste the PGP message, your private key and its passphrase. Add the sender’s public key to check their signature.
  4. To sign or verify, paste the text and your private key — or the signed text and the signer’s public key.
  5. Copy the result or download it as an .asc file. Clear keys and text wipes everything from the page.

PGP Encrypt & Decrypt features

Real OpenPGP

Messages, keys and signatures follow the OpenPGP standard, so they work with GnuPG and mail clients.

Modern keys

Curve25519 keys (Ed25519 for signing, X25519 for encryption) in the widely supported v4 format, or RSA 4096 for older software.

Sign while encrypting

Add your private key when encrypting, and the recipient can confirm the message is from you.

Files too

Encrypt any file to a binary .gpg and decrypt .gpg, .pgp or armored .asc files back to the original.

Password mode

Symmetric encryption with a shared password when the other person has no key.

Clear errors

Wrong passphrase, wrong key, altered messages and pasted private keys are explained in plain words.

How PGP encryption and decryption work

PGP uses a key pair. The public key can be shared with anyone: it is used to encrypt messages to you and to check your signatures. The private key, protected by your passphrase, is the only thing that can decrypt those messages and create your signatures. When you encrypt, the software creates a one-time random session key, encrypts the message with it using AES, and then encrypts that session key to each recipient’s public key. Decryption reverses this with the private key, and an integrity check rejects any message that was changed on the way.

A signature is a hash of the text signed with the private key. Verifying it with the public key proves who signed it and that not a single character has changed — the tool shows “Good signature” or “Bad signature” with the key ID.

Keeping your private key safe

  • Always set a passphrase when you generate a key, and keep a backup of the private key file somewhere offline.
  • Never paste your private key into a page you do not trust. This tool works offline once loaded — you can disconnect before decrypting to check that nothing is sent.
  • Compare the fingerprint with the other person by phone or in person before trusting a public key someone emailed you.
  • Keep the revocation certificate: if the private key is lost or stolen, publishing it tells others to stop using the key.
  • For passwords, use the passphrase generator.

PGP or a password?

PGP is best when you exchange messages with the same people repeatedly or need signatures. For a one-off secret with a friend who has no PGP software, the password mode here, or the simpler AES-256 text encryption tool, is easier — just send the password by a different channel. To check a downloaded file against a published checksum rather than a signature, use the file hash checker.

Limits: keys are not uploaded to or fetched from key servers, smart cards and hardware keys are not supported, and very large files are processed in memory (up to 100 MB). OpenPGP.js is LGPL-3.0 software and is loaded unmodified from jsDelivr.

PGP Encrypt & Decrypt FAQ

Is this PGP encryption online tool safe?

Encryption, decryption and key generation all run in your browser with OpenPGP.js; nothing you type is uploaded or stored. The safest practice is still to decrypt with a private key that is protected by a strong passphrase.

How do I PGP-encrypt a file?

Choose Encrypt, then File, paste the recipient’s public key, drop the file and press Encrypt file. You get a .gpg file that only their private key can open.

Can GnuPG decrypt messages made here?

Yes. The output is standard OpenPGP, so gpg --decrypt, Kleopatra or a mail client with OpenPGP support reads it, and keys generated here import into them.

What if I forget my passphrase?

The private key cannot be used and messages encrypted to it cannot be recovered. That is how the protection works, so store the passphrase safely.

What is the difference between signing and encrypting?

Encrypting hides the message from everyone except the recipient. Signing leaves it readable but proves who wrote it and that it was not changed. You can do both at once.

Why is my decryption failing?

Usually the message was encrypted to a different key, the passphrase is wrong, or part of the block was not copied. Copy everything from the BEGIN line to the END line.

You might also need