Afraid of being locked out of Proton Mail? Migrating your emails? Make sure you’re ready and can decrypt (or make sure you can decrypt) emails in your Proton Mail account offline — without Proton Mail. Find out here how to export and use your Proton Mail decryption key ⤓ using GnuPG.
On This Page
How to Export and Install Your Proton Mail Key for Offline Decryption
Time needed: 5 minutes
To download the private PGP key for your Proton Mail account and install it for use on a local computer:
- Click the settings gear icon (⚙) in Proton Mail.
- Select All settings.
- Go to the Encryption and keys category.
- Click the downward-headed caret next to Export public key for the desired key under Email encryption keys.
- Click Export private key.

- Type the password you want to use for the decryption key.
Here’s why: The password protects the decryption key; you need it to import the key in cryptographic software and to use it for decrypting.
Important: Anyone with both the exported private decryption key and the password can decrypt messages encrypted for your Proton Mail account. - Click Encrypt and export.

- Type the account password for Proton Mail under Password.
- Click Authenticate.
- Import the key in the software you want to use for decryption.
GnuPG: In GnuPG, type
gpg --import <privatekey.xxx.asc>and press Enter on a command line.
Their word: Proton include information on exporting your keys in Mail help.
Decrypt an Exported PGP-Encrypted Email with GnuPG
To decrypt the message body in an email you have downloaded in encrypted form from Proton Mail using just GnuPG:
- Run
gpg -d pgp.txtat a command prompt.
Output: GnuPG will output only the encrypted part.
To file: You can add-o <filename.txt>to save the decrypted text right to a file.
Proton Mail key downloaded and decrypting?
Tips help fuel these email and tech how-tos.
How to Export and Install Your Proton Mail Key for Offline Decryption: FAQ
Can I download a private Proton Mail decryption key without a password?
No.
You will always need to set a password for your private key, and you will need this password for using the key, e.g., to decrypt a message.
Can I import the key into Thunderbird and other email programs using OpenPGP?
Yes.
Thunderbird and email programs that support OpenPGP encryption (e.g., Outlook using Gpg4win or Canary Mail) will let you import the private key as a personal key for decrypting emails.
(Tested with GnuPG 2.4.4; first published September 2024, last updated August 2026)
