Zero-knowledge encryption is a security architecture in which your data is encrypted on your own device before it is uploaded, and only you hold the decryption key. The service provider stores only unreadable ciphertext, so it cannot read your files even if its servers are breached, its staff go rogue, or a court orders it to hand data over.
Key takeaways
- Zero-knowledge encryption means only you hold the key — the provider stores ciphertext it cannot read, by design rather than by promise.
- It protects data at rest, in transit and on the server, but it does not stop phishing, a weak master password, or someone with access to your unlocked device.
- If you lose your master password and have no recovery key, your data is gone forever — the provider cannot reset it for you.
Most cloud services protect your data with a promise: they encrypt it, and they promise not to look. Zero-knowledge encryption replaces the promise with architecture. The provider cannot read your data — not because it chooses not to, but because it never had the key.
What is zero-knowledge encryption?
Zero-knowledge encryption is a security architecture in which your data is encrypted on your own device before it leaves it, and only you hold the key needed to decrypt it. The service provider stores only ciphertext — scrambled data that is unreadable without the key — so it knows nothing about what you stored.
The "zero knowledge" in the name refers to what the vendor knows about your data: nothing. Your passwords, notes and files are encrypted locally using a key derived from your master password, before anything is transmitted. The master password itself never leaves your device.
The result is simple to state and hard to overstate: even if the provider's servers are breached tomorrow, the attacker walks away with encrypted data they cannot read. Even if the provider is ordered by a court to hand over your files, it can only hand over ciphertext.
How does zero-knowledge encryption work?
Zero-knowledge encryption works by moving all cryptographic operations to your device and keeping the keys there. The server is reduced to a dumb storage box: it holds encrypted blobs and serves them back when you ask.
The process has four steps. First, you enter your master password on your device. The app derives an encryption key from it, usually by running it through a key-derivation function such as PBKDF2 with hundreds of thousands of iterations, which makes brute-force guessing expensive.
Second, your data is encrypted locally — typically with AES-256 — before it is sent anywhere. Third, the server stores only the ciphertext, plus an encrypted copy of the key that only your master password can unlock. Fourth, when you need the data back, you download the ciphertext and decrypt it on your own device.
Authentication works without revealing the password too. The server needs a way to check that you know the password without ever receiving it. Systems do this with zero-knowledge proofs or with password-authenticated key exchange protocols such as OPAQUE, specified in RFC 9807, in which the password — and anything that could test a guess against it without the server — never reaches the server at all.
How is zero-knowledge encryption different from end-to-end encryption?
End-to-end encryption and zero-knowledge encryption overlap, but they are not the same thing. All zero-knowledge encryption is end-to-end encryption, but not all end-to-end encryption is zero-knowledge.
| Ordinary cloud encryption | End-to-end encryption | Zero-knowledge encryption | |
|---|---|---|---|
| Who holds the key? | The provider | You, or you and the provider | You only |
| Can the provider read your data? | Yes | Sometimes, in theory | No, by design |
| What does a breach expose? | Readable data | Depends on key handling | Ciphertext only |
| Can the provider hand data to a court? | Yes, readable | Often yes | Only ciphertext |
| Forgot your password? | Reset it | Usually resettable | Data is lost |
| Typical example | Standard cloud drive | Encrypted messaging | Proton Drive, Proton Pass |
The distinction that matters is a single question: "Does the provider have any technical means of decrypting my stored data?" If the answer is yes — even if the provider promises never to use it — the service is not zero-knowledge. If the answer is no, because the keys never leave your device, it is.
Some services sit in between. They encrypt your data end to end but keep a copy of the key, or offer a password-reset feature that only works because the provider can decrypt your data. Those services are more convenient, and they are still far safer than storing files in plain text — but they are not zero-knowledge, and their marketing sometimes blurs the line.
Zero-knowledge encryption vs zero-knowledge proofs: what is the difference?
The two terms share a name and a philosophy — prove or store something without revealing the secret — but they are different tools. Confusing them is the most common mistake in articles about this topic.
A zero-knowledge proof is a cryptographic protocol. NIST defines it as a scheme in which a prover convinces a verifier that a statement is true without providing any more information than that single fact. The classic example is proving you know a password without ever sending the password.
Zero-knowledge proofs must satisfy three properties: completeness (an honest prover convinces an honest verifier), soundness (a cheating prover almost never succeeds) and zero knowledge (the verifier learns nothing beyond the statement's truth).
Zero-knowledge encryption, by contrast, is a service architecture. It describes how a product is built: keys on the client, ciphertext on the server, provider blind. A zero-knowledge service may use zero-knowledge proofs as part of its login flow, but the encryption is what makes it zero-knowledge — not the proof.
In short: a zero-knowledge proof is a way of proving something without revealing it; zero-knowledge encryption is a way of storing something nobody else can read. Our free hash generator shows one of the building blocks: a one-way function that turns input into a fixed fingerprint without revealing the input.
What does zero-knowledge encryption protect against?
Zero-knowledge encryption is strong against exactly the threats that worry people about the cloud. It protects your stored data if the provider is hacked, because the stolen database contains only ciphertext. It protects you if a rogue employee at the provider goes looking, because there is nothing readable to find. And it protects you against legal compulsion, because the provider cannot hand over what it cannot decrypt.
It also removes a whole class of trust problems. You no longer need to believe the provider's privacy policy, audit its internal access controls, or hope it resists pressure. The math enforces the guarantee instead of a policy — and unlike a policy, the math cannot change quietly, be subpoenaed, or be violated by one employee.
That is why zero-knowledge encryption is the default choice for password managers. A password manager holds the keys to your entire digital life, so the vendor holding a copy of your master key would be a single point of failure worth attacking. Proton Pass, for example, encrypts passwords, usernames and notes with 256-bit AES-GCM on your device, and states plainly that all cryptographic operations happen locally, so unencrypted data never reaches its servers.
What does zero-knowledge encryption not protect against?
Zero-knowledge encryption is powerful, but it is not a force field. It protects data at rest, in transit and on the server — but it does not protect the endpoints, and most real attacks target the endpoints.
- A weak master password. Your security is only as strong as the one password that derives your key. If it is short, common or reused, an attacker who steals the encrypted database can guess it offline. Use a long, unique passphrase — our password generator can create one.
- Phishing. If you type your master password into a fake login page, the attacker gets the key to everything. Zero-knowledge encryption cannot tell a real login page from a fake one.
- Your own device. If someone has access to your unlocked phone or computer, or installs malware on it, they can read your data after you decrypt it. Encryption protects data in storage and in transit, not data in use.
- Metadata. The provider may still see file names, file sizes, upload times and your IP address, unless it encrypts metadata too. Proton Drive encrypts file and folder names; not every provider does. Check what is actually encrypted before you trust a service with sensitive file names.
- Sharing. The moment you share a file with someone else, they can read it — and forward it. Zero-knowledge encryption controls who holds the key, not what the key holder does next.
- You losing the key. This is the trade-off, not a bug. If you lose your master password and have no recovery key, the provider cannot help you. Your data is gone, permanently.
Where is zero-knowledge encryption used?
Zero-knowledge encryption shows up wherever the data is too sensitive to trust to a provider's promises. The main categories are password managers, cloud storage, email and messaging, and backups.
- Password managers: Dashlane and Proton Pass both use zero-knowledge architecture, encrypting vault contents on your device with keys derived from your master password. This is the category where zero-knowledge matters most, because a vault breach would otherwise expose every login you own.
- Cloud storage: Proton Drive encrypts every file end to end by default, on every plan including the free one, and states that not even Proton can access your files. Other providers offer encryption only as a paid add-on or on selected folders — which is not the same thing.
- Email: Proton Mail stores messages with zero-knowledge encryption, so only you and your recipients can read them. Ordinary email providers can read your mail; zero-knowledge ones structurally cannot.
- Backups: Apple's Advanced Data Protection for iCloud extends end-to-end encryption to most iCloud data, including backups, photos and notes, so Apple cannot read them. It is optional and must be switched on.
- Messaging: encrypted messaging apps use end-to-end encryption so only the sender and recipient can read messages. Whether a given app is fully zero-knowledge depends on whether the provider holds any key material — check the app's own security documentation rather than its marketing.
How do you check if a service is really zero-knowledge?
Vendors love the phrase "zero-knowledge" because it sounds absolute, and some use it loosely. Before trusting a service with sensitive data, run through these checks.
- Ask the password question. Can you reset your password by email? If yes, the provider can decrypt your data, and the service is not zero-knowledge. This single test catches most false claims.
- Read the security white paper. Serious providers publish one. Look for where keys are generated, where they live, and what the server stores. If the documentation is vague about key custody, treat the claim as marketing.
- Check for independent audits and open source. Proton's apps are open source and independently audited, so anyone can verify the security model. Closed-source claims with no audit are just promises.
- Check what happens in a breach. The provider should be able to say, honestly, that a stolen database would give attackers only ciphertext. If it cannot say that, it is not zero-knowledge.
- Check the metadata. File names, folder names and sharing metadata can be as revealing as file contents. The best services encrypt those too.
Should you use zero-knowledge encryption?
For most people, the answer is yes for password managers and for anything genuinely sensitive — health records, financial documents, private photos, work under a non-disclosure agreement. The cost is small: encryption is invisible in daily use, and the only real burden is keeping your master password and recovery key safe.
There are cases where it is the wrong choice. If you regularly forget passwords, a zero-knowledge service will eventually lock you out of your own data. If you need the provider to search, index or preview your files — for example, searching the text inside documents — zero-knowledge encryption makes that hard or impossible, because the server cannot see the contents. And if you share files constantly with people outside the service, the key-exchange friction may outweigh the benefit.
A practical middle path works for most people: use a zero-knowledge password manager for all your logins, use zero-knowledge storage for sensitive documents, and keep ordinary cloud storage for files you do not mind the provider seeing. You do not have to go all-in to get most of the benefit.
The bottom line
Zero-knowledge encryption means the company storing your data cannot read it, because only you hold the key. It protects you against breaches, rogue insiders and court orders aimed at the provider — the threats that ordinary encryption cannot stop.
It does not protect you against a weak master password, phishing, or someone with access to your unlocked device, and it comes with one hard rule: lose the key and you lose the data. Pick a strong, unique master passphrase, write down your recovery key and store it somewhere safe, and choose services whose zero-knowledge claims survive the password-reset test. You can check the strength of your passphrase right now with our free password strength checker.
Frequently asked questions
What is zero-knowledge encryption in simple terms?
It is a way of storing data online so that only you can read it. Your files are locked on your own device before they are uploaded, and you keep the only key. The company storing them sees only scrambled data it cannot open.
Is zero-knowledge encryption the same as end-to-end encryption?
They are closely related but not identical. All zero-knowledge encryption is end-to-end encryption, but some end-to-end encrypted systems still let the provider hold a copy of the key. Zero-knowledge encryption closes that gap: the provider has no technical means of decrypting your data at all.
What is the difference between zero-knowledge encryption and zero-knowledge proofs?
Zero-knowledge encryption is a service architecture: the provider cannot read your stored data. A zero-knowledge proof is a cryptographic protocol that lets one party prove a statement is true without revealing the underlying secret. They share a name and a philosophy, but they solve different problems.
Can the police or a court force a zero-knowledge provider to hand over my data?
They can force the provider to hand over what it holds, but what it holds is encrypted data it cannot read. Without your password, the data stays unreadable. This is the key difference from ordinary cloud storage, where the provider can decrypt and hand over readable files.
What happens if I forget my password with zero-knowledge encryption?
Your data is unrecoverable. Because the provider does not hold your key and cannot reset your password, losing both your password and your recovery key means losing access to everything stored under that encryption. Keep a written recovery key somewhere safe.
Does zero-knowledge encryption protect me from hackers?
It protects your stored data if the provider is breached, because attackers get only ciphertext. It does not protect you if someone steals your password, tricks you into entering it on a fake site, or gets access to your unlocked device.
Which services use zero-knowledge encryption?
Password managers such as Proton Pass and Dashlane, cloud storage such as Proton Drive and Sync.com, and some email services use zero-knowledge or zero-access encryption. Always check the provider's own documentation: the words matter less than whether the key ever leaves your device.
Is zero-knowledge encryption slower than normal encryption?
The encryption itself is fast on modern devices and you will not notice it. The practical cost is convenience: you cannot reset a forgotten password, and sharing files usually needs extra steps because the recipient must receive a key too.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against NIST's privacy-enhancing cryptography pages and the published security models of Proton and Dashlane.
How we write and fact-check →