How to easily encrypt files on an Android phone - and the free app I use to do it
'ZDNET Recommends': What exactly does it mean?
ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.
When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.
ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.
Close Home Tech Smartphones How to easily encrypt files on an Android phone - and the free app I use to do it If you need to encrypt a file on your Android device so it can be safely shared with other users, this handy app gets the job done.
Written by
Jack Wallen, Contributing WriterContributing Writer April 20, 2026 at 12:21 p.m. PT
Follow ZDNET: Add us as a preferred source on Google.
ZDNET's key takeaways
- Encrypting files on Android is easy.
- You can encrypt and decrypt files with this simple app.
- OpenKeyChain is free to use and open-source.
If you take mobile security seriously (and you should), then you might want to consider file encryption. I'm not talking about saving a file in an encrypted folder to tuck it away from prying eyes.
No. This is all about encrypting files that you can either leave on your device and view when needed or share with others, knowing they can be viewed only by the recipient.
Also: The Thunderbird email client finally landed on Android, and it was worth the wait
This is made possible by the OpenKeyChain app. This app is all about encryption, and although it makes the process easy, there are some things you'll need to know before diving in.
Let's do just that.
It's all about keys
If you've ever used public key encryption on your desktop to securely send a file to someone, you already understand it. If not, let me explain.
Public key encryption uses a key pair: one private and one public. The private key remains on the recipient's device, while the public key is sent to those who need to send an encrypted file to them. Files encrypted with someone's private key can only be opened by someone who has the corresponding public key. Without that public key, there's no way to open the file.
It works, and it works very well. You can have this on Android, and it's not nearly as hard as you might think. Let's see how it works.
What you'll need
To do this, you'll need an Android device, and you'll need the OpenKeyChain app installed. Make sure you install that app, and you're ready to go.
Manage the keys
There are two things you'll need/want to do. The first is to create your own key.
1. Open "Manage my keys."
Open the Keys tab of the app. On that page, tap the three-dot menu in the upper-right corner and then tap "Manage my keys."
Show moreCreating your first key pair with OpenKeyChain is quite easy.
Jack Wallen/ZDNET2. Create your key
On the resulting page, tap CREATE MY KEY and walk through the user-friendly wizard.
Show moreThe keys wizard is very easy to follow.
Jack Wallen/ZDNETImport a public key
The next thing you have to do is import the public key from someone you want/need to send an encrypted file to. This is where OpenKeyChain really shines. If the person you need to send the encrypted file to also has OpenKeyChain installed, they can open their key, and you can simply scan the QR code associated with their key pair to add their public key.
Also: 3 ways to stop Android apps running in the background - and why I always do
If the person doesn't have OpenKeyChain installed, they have to send you their public key, and you then have to import it from within My Keys > + > Import from File. Locate the file the person sent you, and then it's ready to use.
You have to import a recipient's key to send them an encrypted file.
Jack Wallen/ZDNETEncrypting a file
With your key created, you can now encrypt a file. You can either encrypt the file such that it'll be sent to another user (using the recipient's public key), or you can encrypt a file that can be saved on your Google Drive account (or your device), using your public key, such that the public key password (that you create within the key creation wizard) is required to open the file.
One thing to keep in mind with saving files to your device. Those files will end in .gpg. If someone gets access to your device, knows you have OpenKeyChain installed, and knows where those files are, they can view them without entering your decryption password (because it'll automatically match the key pair).
Also: How I share audio from my Android phone to multiple earbuds (and why it's a big deal)
The good news is that you can hide those files "in plain sight," to make it harder for someone to find/view them. Also, those files cannot be viewed via Google Drive, because your public key is stored on your device. That means if someone gains access to your Google Drive account, they will not be able to view those encrypted files.
To encrypt a file, follow these steps.
1. Open the Encrypt/Decrypt page
Tap the three-line menu on the main page and then tap Encrypt/Decrypt.
2. Encrypt the file
On the resulting page, tap Encrypt files. You will then have to select who the file is to be encrypted for. If you're encrypting the file so it can be saved to Google Drive, you'll use your key pair. If you're encrypting it for someone else, you'll have to select their public key.
This is where the magic happens.
Jack Wallen/ZDNETEither way, tap "Encrypt to" and then type out the name of the recipient. Select the relevant key and then tap "Add file(s)." Locate the file you want to encrypt, and then tap the tiny save icon near the top right (to the left of the share icon).
Also: How to use Google Messages' new Trash feature to recover texts you accidentally deleted
Select the folder you want to house the file, give the file a name, and then tap Save. Your file will be saved in the intended location. You can then send the encrypted file to the recipient by whatever means you would normally use (email, messages, etc).
Make sure to give your file a name that doesn't exactly scream, "Don't look into this file!"
Jack Wallen/ZDNETDecrypting a file
This is simple. All you have to do is go to Encrypt/Decrypt, tap "Select input file" under Decrypt/Verify, and then locate and tap the file. You can open the file from within OpenKeyChain, and you're good to go.
Featured
-
I tested ChatGPT Plus vs. Gemini Pro to see which is better - and if it's worth switching
-
Your Kindle's not obsolete, it just needs a jailbreak - and I'll show you how it's done