Skip to content
EasyToPaste

What Is Zero-Knowledge Encryption? A Plain-English Definition

Zero-knowledge encryption means the service never holds the key. What the term covers, what it does not, and the four questions that tell you whether a product has it.

EasyToPaste Team Published 6 min read
  • zero-knowledge
  • encryption
  • explainer

Short answer: zero-knowledge encryption means the company storing your data cannot read it, because it never receives the key. Everything is encrypted on your device before it is uploaded and decrypted on a device afterwards. What sits on the provider’s servers is ciphertext that the provider has no way to open, for itself, for an employee, for an attacker who breaches it, or for a government that asks.

The phrase gets used loosely, so the useful version of it is a test rather than a definition: if the provider could decide tomorrow to read your content, it is not zero-knowledge, whatever the marketing page says.

If you want to see the shape of it, How It Works walks through one concrete implementation and the Security page lists the metadata that is held even when the content cannot be read. You can also create a secret and watch the network requests yourself: the key is never in any of them.

Related: zero-knowledge versus end-to-end encryption · self-destructing notes.

Where the name comes from, and a caution about it

In cryptography, a zero-knowledge proof is a specific construction that lets one party prove it knows something without revealing the thing itself. That is a precise piece of mathematics with a literature behind it.

“Zero-knowledge encryption” as used by products is a looser, architectural borrowing of the idea. It does not usually mean the service runs zero-knowledge proofs. It means the service has arranged not to know your content. The two are related in spirit and different in substance, and anyone telling you the terms are interchangeable is selling something.

The three places a key can live

Almost everything about this topic reduces to one question: where is the key?

On the server, held by the provider. The default for most cloud services. Data is encrypted at rest, the provider holds the key, and the encryption protects you against somebody stealing a disk. It does not protect you against the provider, a rogue employee, a compromise of the key store, or a lawful request. This is encryption, and it is worth having. It is not zero-knowledge.

On the server, but derived from your password. A middle ground. The provider only holds material derived from a secret you supply, so it cannot decrypt without you. The question becomes whether your password ever reaches the server in a usable form, and whether the key derivation is strong enough that guessing offline is impractical. Implementations vary a great deal here.

Only on your device, never transmitted. The zero-knowledge case. The key is generated locally, used locally, and either stays local or travels by a route the provider does not see.

One-time link services have a neat version of that last case. The key is placed in the URL fragment, the part after the #. Browsers do not include the fragment in the request they send to the server, so the link in your chat window carries the key to the recipient while the server that stores the ciphertext never sees it. The provider holds an unopenable blob and a locator.

What zero-knowledge does not give you

This is where honest products and loud products separate.

It does not hide metadata. The provider still knows that an object exists, how big it is, when it was created, and from roughly where the request came. Which items in that list a given provider keeps varies, and for many threat models the list is the sensitive part. A provider worth trusting publishes its own rather than implying the list is empty.

It does not protect a compromised device. If malware or a hostile browser extension is on the machine doing the decryption, it sees what the user sees. Moving the key off the server does not move it out of reach of whoever already owns the endpoint.

It does not fix a weak secret. A key derived from Summer2026! is a weak key wherever it was derived.

It does not remove the need to trust code. In a browser-based product, the provider serves the JavaScript that does the encrypting. An operator who wanted to could serve a modified version that leaked the key. Published code, reproducible builds, subresource integrity and third-party audits all reduce that exposure; none of them eliminate it. A product that acknowledges this is being straight with you.

The four questions that separate claims from architecture

  1. Where does encryption happen? On the device, before upload, or on the server after it arrives? Only the first answer supports the claim.
  2. Where is the key, and does it ever reach the server? A key in the URL fragment or in local storage is one answer. A key in the request path, the query string or a header is a key the server has.
  3. What exactly does the server store? The honest answer is a list: ciphertext, a locator, a size, timestamps. The dishonest answer is a reassurance.
  4. What survives deletion? Backups and replicas exist everywhere. A service that says nothing anywhere survives, without qualification, has either not looked or is not telling you.

You can usually get answers to all four from a security page in five minutes. If you cannot, that is the answer.

A worked example

Ours, since it is the one we can describe exactly. You paste text or pick a file. The browser generates a key and encrypts the content with AES-256-GCM locally. The ciphertext is uploaded; the key is appended to the link after the # and never sent in any request. The recipient opens the link, their browser decrypts with the key from the fragment, and the stored record is deleted on that read or at expiry. What survives that deletion depends on size, and the two branches are worth stating rather than averaging: a small secret lives inside the record and goes with it, leaving only the roughly 35-day database-backup window; a larger file is a separate encrypted object cleared by a storage lifecycle rule about 38 days after it was created. Unreadable throughout either way.

The server therefore knows a secret of a certain size existed and when it was created. It keeps no view counter and no record of whether, or when, a secret was read, because the one-time read deletes the record rather than marking it. And it never knows what the secret contained, because it never had the means to find out. That is the whole claim, and it is the kind of claim you can check rather than take on faith.

In short

Zero-knowledge encryption is a statement about key custody, not about cipher strength. The provider cannot read your content because the provider never holds the key. It still sees metadata, it cannot help you if your device is compromised or your key is lost, and in a browser product you are still trusting the code it serves. Within those limits it is the strongest available answer to the question “what happens when this company is breached?”, and the answer is: they lose a pile of ciphertext.

Common questions

What is zero-knowledge encryption?
A design in which the service holding your data never has the key needed to read it. Encryption and decryption happen on your device, so what the provider stores is ciphertext it cannot open, even for itself, even under a court order. The term is about who holds the key, not about which cipher is used.
Is zero-knowledge encryption the same as end-to-end encryption?
They overlap and are not identical. End-to-end encryption describes a message that only the sender and recipient can read, which is a property of a conversation. Zero-knowledge describes a service that cannot read what it stores, which is a property of a provider. A storage product can be zero-knowledge without any second party involved, and a messaging product can be end-to-end encrypted while the provider still holds other readable data about you.
Does zero-knowledge encryption mean the service knows nothing at all?
No, and treating it that way is the common mistake. The provider cannot read your content, but it still sees metadata: how large the object is, when it was created, which account it belongs to, and the network address the request came from. Exactly which of those a given provider stores varies, and the honest ones publish their own list. A provider that claims to know literally nothing has not thought about it carefully.
What happens if I lose the key in a zero-knowledge system?
The data is gone. There is no recovery path, because a recovery path would mean the provider has a way in, which is exactly what zero-knowledge rules out. Password managers handle this with recovery kits you print and store yourself. For a one-time link the key is in the link, so losing the link loses the secret.
How can I tell whether a product really is zero-knowledge?
Ask where encryption happens, where the key is stored, what the server receives, and whether an operator could serve a modified client. A product that encrypts in the browser, keeps the key out of every request, stores only ciphertext, and publishes the metadata it does hold is making a checkable claim. One that just uses the phrase in a headline is making a marketing claim.

All articles