Decrypt a PGP Message
Read a message that was encrypted to your public key.
Check who sent it Optional. Verifies the signature with the sender's public key
If the sender signed the message, their public key shows whether it really came from them and arrived unchanged.
- Add the encrypted message.
- Add your private key and its passphrase.
- Press Decrypt. The message appears here.
How to decrypt a PGP message
To read a message that was encrypted to your public key, you need your private key and its passphrase.
- Paste the whole encrypted message, from
-----BEGIN PGP MESSAGE-----to-----END PGP MESSAGE-----. - Add your private key.
- Enter its passphrase. Leave this empty if the key has none.
- If you have the sender's public key, open "Check who sent it" and add it. The page then says whether the message was signed with that key.
- Press Decrypt.
If something is wrong, the error names the input at fault: the message, the key or the passphrase.
Decrypting shows what a message says, not who wrote it. Anyone with your public key can write to you, so only a signature checked against the sender's key tells you who it came from.
Questions about PGP decryption
Is it safe to paste my private key into a website?
Only where you can be confident it stays on your device. On this page the key is read by code running in your browser. It is not uploaded or saved, and the page clears itself after 15 minutes without activity. You can check this by disconnecting from the internet before you paste.
You are still trusting this site to serve the code it publishes. Every release is signed so that this can be checked (see the About page). If the key protects something valuable, use a program on your own computer such as GnuPG.
Can I decrypt a PGP message without the private key?
No. A PGP message can only be opened with a private key that matches one of the public keys it was encrypted to.
If the page says the message was not encrypted with the key you provided, the sender used a different public key. Send them your current public key and ask them to encrypt the message again.
What if I have forgotten my passphrase?
It cannot be reset. Nobody else has a copy of your key or its passphrase.
If you cannot recall it, make a new key pair, give people the new public key, and ask for anything important to be sent again. Messages encrypted to the old key stay unreadable.
Why will my PGP message not decrypt?
The usual causes:
- Part of the message is missing. Copy everything from
-----BEGIN PGP MESSAGE-----to-----END PGP MESSAGE-----. - It was encrypted to a different key. The sender has to use the public key that matches your private key.
- The passphrase is wrong. Check Caps Lock and the keyboard layout.
- The text was changed on the way. The page repairs quote marks, indentation and lost line breaks. If characters are missing, ask for the message as a file and open it here.
The error on the page says which of these it is.
Can it decrypt messages made with GnuPG or Kleopatra?
Yes. Any standard OpenPGP message encrypted to your public key can be decrypted here. This project's tests decrypt messages made by GnuPG, which Kleopatra and Gpg4win use underneath.
The page reads armoured text only. It does not decrypt files, binary .gpg files,
or messages protected with a password instead of a key.
Is the decrypted message stored anywhere?
No. It exists only in this page's memory. It is gone when you press Clear, close the tab, or leave the page untouched for 15 minutes.
If you copy the message, it stays on your clipboard until you copy something else.