Skip to content
EasyToPaste

What Is a One-Time Secret? The Link That Stops Working After One Read

A one-time secret is a link that carries a password or file once and then stops working. What the term means, what it protects you from, and what it does not.

EasyToPaste Team Published 4 min read
  • one-time secret
  • zero-knowledge
  • encryption
  • how-to

Short answer: a one-time secret is a link that carries one password, token or file to one person, and stops working the moment it has been read. The words one-time secret, one-time link and burn-after-reading all describe the same mechanism. It exists because the normal ways people hand over a credential

  • a chat message, an email, a ticket comment - keep a copy that is searchable, exportable and permanent, long after the credential has done its job.

What makes one implementation different from another is not the countdown. It is where the encryption key lives. Here, the key is generated on your device and travels only in the URL fragment, the part after the hash that browsers do not send to any server, so what we store is ciphertext we cannot read. See How It Works, or the architecture comparison in one-time secret alternative.

Related: self-destructing links and burn after reading · how to send passwords securely · what is zero-knowledge encryption.

What the term actually means

Three properties, and a one-time secret has all three:

  • One read. The link resolves once. A second opener gets a page saying the secret is no longer available, not the content.
  • An expiry. If nobody opens it, it goes anyway. On this service the window is chosen at creation, from one hour to thirty days, defaulting to one day.
  • A narrow envelope. The content is encrypted before it leaves the browser, so the service holds the ciphertext plus the few operational fields it needs: the locator, size, content type, expiry, one-time flag, creation time, whether it is still live, and the creator where the sender was signed in.

That third property is the one people assume and should check. A link that dies after one read is still a link whose content somebody else can read while it lives, if the server holds the key to it.

What problem it solves

The honest framing is narrow. A one-time secret does not make a password strong, and it does not stop the recipient from pasting it into the same chat you were avoiding. What it fixes is persistence:

  • A password pasted into a team chat stays in message history, in search, in every export, and is visible to people who join the channel months later.
  • An emailed credential sits in two mailboxes, two backup systems and often a phone that has since been replaced.
  • A credential in a ticket or a pull-request comment outlives the task and usually the employment of everyone involved.

Replacing that with a link that is dead by the time anyone goes looking is a real reduction in exposure, and it costs the sender nothing. If a credential has already gone into one of those channels, the cleanup order is in I pasted a password in Slack or email.

What it does not solve

  • A recipient who re-shares it. Once decrypted, the content is theirs.
  • A compromised device on either end. Browser encryption assumes the browser is yours.
  • A link that leaks before the intended reader opens it. The link is the credential, because it carries the key. Send it through a different channel from any hint about what it unlocks, and if you suspect it was seen, rotate the credential rather than reasoning about it. A signed-in sender can revoke a secret before it is read.
  • Telling you what happened to it. We keep no view counter and no record of whether or when a secret was read - a one-time read deletes the row, so nothing survives to be counted, and an unread secret that expired looks exactly like one that was opened. Confirm receipt with the person, not with us.

One-time secrets and files

The same mechanism carries a file: encrypted in the browser, uploaded as ciphertext, decrypted by the recipient. The size limits are 1 MB without an account, 20 MB signed in on the free plan, and 100 MB on Plus.

Retention is worth stating precisely, because “deleted on read” is true of the record and not of every byte. A small secret lives inside its database record, which sits in a backup window of roughly 35 days. An uploaded file is a separate encrypted object in storage, cleared by a lifecycle rule about 38 days after it was created. Both are unreadable throughout, because the key was never ours.

When something else is the better answer

  • A credential your team needs repeatedly belongs in a password manager with shared vaults, not in a link that dies.
  • A document a group has to work on belongs somewhere with access control and revocation, not in a one-shot hand-over.
  • A secret for a deployment pipeline belongs in that platform’s own secret store, where it can be rotated by machinery.

A one-time secret is for the hand-over itself: the five minutes where a credential has to travel from one person to another and should leave no copy behind. If that is the job, create a one-time link and send it on its own.

Common questions

What is a one-time secret?
A one-time secret is a piece of text or a file published behind a link that works exactly once. The first person to open the link sees the content; everyone after that, including the sender, sees that it is gone. The point is not secrecy in transit, which TLS already gives you, but that the copy stops existing after the hand-over instead of sitting in a chat history forever.
How do one-time secrets work?
On this service the content is encrypted in your browser with AES-256-GCM through the Web Crypto API, and only the ciphertext is uploaded. The key is placed in the fragment of the link, the part after the hash, which browsers never put in a request. The recipient's browser decrypts locally. When a one-time link is opened, the stored record is deleted, so there is nothing left to serve a second time.
Are one-time secrets actually safe?
They remove one specific risk well: a credential sitting in a searchable, exportable, long-lived channel such as a group chat or a mailbox. They cannot protect you from a recipient who copies the content somewhere worse, from malware on either device, or from someone who reaches the link before the intended reader. Treat the link as the credential, send it on its own, and rotate anything you suspect was intercepted.
What happens if nobody opens a one-time secret?
It expires on its own. The expiry is chosen when the secret is created, from one hour up to thirty days, with one day as the default, and after that the record is removed whether or not anyone read it. An unread secret is not kept indefinitely waiting for a reader.
Is a one-time secret the same as a self-destructing note?
The terms describe the same mechanism, and different products pick different words for it: one-time secret, one-time link, burn-after-reading, self-destructing note. What actually differs between them is where the encryption key lives. If the server holds the key, the operator can read the content; if the key stays in the link fragment, the server only ever holds ciphertext.

All articles