[ENCRYPT FILES BEFORE UPLOADING TO THE CLOUD]
Your cloud provider encrypts your files — with keys it holds. Here is how to hold the key yourself.
Last updated
Google Drive, Dropbox and OneDrive all say they encrypt your files, and they do — but with keys they control. That protects against a stolen hard drive in their data centre, not against the provider itself, a court order served on it, a breach of your account, or a sharing link that ends up in the wrong hands.
If you encrypt a file before it is uploaded, the cloud only ever stores ciphertext. This is called client-side or end-to-end encryption, and it is easy to add.
[WHO HOLDS THE KEY AT EACH PROVIDER]
"Encrypted" on a cloud provider's page almost always means encrypted at rest with keys the provider manages. The question that matters is who can decrypt. As of late 2026:
| Service | Who can decrypt your files |
|---|---|
| Google Drive | Google. Workspace business editions can add client-side encryption, set up by the administrator. |
| Dropbox | Dropbox. Some business plans offer end-to-end encrypted team folders. |
| OneDrive | Microsoft. The Personal Vault folder asks for a second sign-in step, which protects against someone using your unlocked PC, but Microsoft still holds the keys. |
| iCloud Drive | Apple, by default. With Advanced Data Protection on (Settings → your name → iCloud), only your devices. Apple stopped offering it to new users in the UK in 2025. |
| Proton Drive, Tresorit, MEGA | Only you: end-to-end encrypted by design. |
Provider-held keys are not a scandal; they are what make previews, search and password resets possible. But they mean a court order, a rogue employee, or anyone who gets into your account can read what you stored.
[THREE WAYS, DEPENDING ON WHAT YOU STORE]
- A few files, occasionally — tax returns, scans of ID documents, contracts. Encrypt each one with a password, in the browser or with 7-Zip (AES-256), and upload the encrypted copy. Nothing to install.
- A whole folder you keep in sync — use Cryptomator, which is free and open source. It creates an encrypted "vault" inside your Drive or Dropbox folder and shows it as a normal drive on your computer. Files are encrypted one by one, so syncing stays fast.
- Everything, without thinking about it — switch to a provider that encrypts end to end by design: Proton Drive, Tresorit, or Apple iCloud with Advanced Data Protection turned on.
[SETTING UP CRYPTOMATOR FOR A SYNCED FOLDER]
- Install Cryptomator (Windows, macOS, Linux; the mobile apps are paid) and the desktop sync app of your provider, so the Drive or Dropbox folder exists on disk.
- In Cryptomator choose Add → Create new vault, name it, and pick a location inside the synced folder.
- Set a long password and save the recovery key it offers, outside that cloud account.
- Unlock the vault: it appears as a separate drive. Move your sensitive files into that drive, not into the synced folder directly.
- Check on the provider's website: you should see a folder of random-looking names (
d/,.c9rfiles), not your documents.
Lock the vault when you are done. While it is unlocked, anything on your computer can read the files, as with any other drive.
[WHAT ENCRYPTION DOES NOT HIDE]
Encrypting a single file protects its contents only. The provider still sees:
- The file name.
passport_scan.pdf.encsays what is inside. Renaming the encrypted copy is not enough with every tool: CryptFile, for example, stores the original name readable in the file header so it can restore it. Rename the file before encrypting it. - The size, which can identify a known document or show roughly how long a video is.
- Dates and the folder structure: when each file was uploaded and changed, and what folder it sits in.
- Who you share it with, through sharing links and access logs.
Cryptomator also encrypts file and folder names. For one-off uploads, a 7-Zip archive in 7z format with "Encrypt file names" ticked hides the names inside it, and a neutral archive name (2026-11-backup.7z) hides the rest.
[WHAT YOU GIVE UP]
- Previews and search. The provider cannot show thumbnails, index text or open the file in its online editor, because it cannot read it.
- Collaboration. Google Docs-style simultaneous editing does not work on encrypted files. Encrypt finished documents, not drafts you edit together.
- Password recovery. The provider cannot reset your encryption password. Lose it and the files are gone — store it in a password manager.
[GOOD HABITS]
- Check the decryption before deleting the original. Decrypt the uploaded copy once to make sure you have the right password.
- Mind the version history. If an unencrypted version was synced earlier, the provider keeps old versions for 30 days or more. Delete the file and empty the version history and trash.
- Choose a neutral name before encrypting. Both the outer name and, for some formats, the original name kept inside the file are readable without the password.
- Keep the password outside that cloud. A password stored in a note in the same Google account, or in a text file next to the encrypted files, undoes the encryption for anyone who gets into the account. A password manager with its own master password is the right place.
- Keep one copy elsewhere. Encrypted files are still lost if the account is closed or the files are deleted; a second copy on an external disk protects against that.
- Secure the account anyway. Two-factor authentication on the cloud account protects everything that is not encrypted.
[FREQUENTLY ASKED QUESTIONS]
Doesn't Google Drive already encrypt my files?
Yes, at rest and in transit, but with keys Google manages. Google can technically access the content, and so can anyone who gets into your account. Encrypting before upload means only someone with your password can read it.
Can I still open encrypted files on my phone?
Yes. A file encrypted on CryptFile.Online can be downloaded from the cloud app and decrypted in the phone's browser. Cryptomator also has Android and iOS apps.
Is OneDrive Personal Vault end-to-end encrypted?
No. Personal Vault adds a second verification step and locks automatically after a short idle time, which helps if someone uses your device. The files are still encrypted with keys Microsoft holds, so it does not protect against the provider or a legal request.
What happens if the cloud service scans my files?
Providers scan stored files for malware and, in some cases, illegal content. An encrypted file cannot be read by those scans; it is just stored as an opaque blob, which is also why the provider cannot preview or search it.
Is it worth encrypting everything?
Usually not. Encrypt what would hurt if it leaked — identity documents, financial and medical records, private photos, credentials — and keep everyday documents convenient.