Encrypt and decrypt files using OpenPGP. Supports public-key encryption and password-based encryption. All processing happens in your browser - files never leave your device.
Encrypt and decrypt files and messages with PGP keys directly in your browser. No install needed. Fully compatible with GPG and the OpenPGP standard.
PGP (Pretty Good Privacy) is an encryption standard used to secure files, emails, and messages. It uses a key pair, where a public key encrypts the data and the matching private key decrypts it. Developers, security teams, journalists, and administrators rely on it to protect sensitive data in transit or at rest. This tool implements the OpenPGP standard, so it reads and writes content that GPG can handle too.
Input:
File: secret.txt Public Key: -----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK-----
Output:
-----BEGIN PGP MESSAGE----- ... -----END PGP MESSAGE-----
Can I decrypt a PGP message online?
Yes. Paste the PGP message or upload the encrypted file, provide the matching private key and passphrase, and decrypt it here. The work happens in your browser, so nothing is uploaded.
How do I decrypt a .asc or .gpg file?
Upload the encrypted file, paste the matching private key, enter the passphrase if the key has one, and click Decrypt. The tool reads both ASCII-armored (.asc) and binary (.gpg) OpenPGP data.
Do I need to install GPG to use this?
No. It runs entirely in the browser with no install, yet it stays fully compatible with files made by GPG or any other OpenPGP tool.
What is PGP encryption?
PGP is an asymmetric encryption standard that uses a public key to encrypt data and a private key to decrypt it. It provides confidentiality, integrity, and authentication for files and messages.
What is the difference between PGP and GPG?
GPG (GNU Privacy Guard) is a free, open-source implementation of the OpenPGP standard, while PGP was the original proprietary software. Both produce the same encrypted format, so content made with one works with the other.
Is my private key safe to use here?
Yes. All encryption and decryption runs in your browser. Your private key and file contents never leave your device or reach any server.
What file types can be encrypted?
Any file works, including text, PDFs, images, archives, config files, and binaries. The encrypted output is always an ASCII-armored PGP message block.
What should I do if decryption fails?
Check that the private key matches the public key used for encryption and that the passphrase is correct. Also make sure the encrypted message was not modified or truncated.