AI chat tools save real time. They also receive everything you paste into them. If that text is a support ticket, an invoice export, a log file or a client email, it probably contains things that are not yours to hand over: names, email addresses, phone numbers, IBANs, card numbers, API keys and passwords.

This post is about a simple habit that fixes most of it: swap the sensitive values for placeholders before the text leaves your computer, and swap them back when the answer returns.

Why this matters more than it seems

Pasting is the easy part, and nobody thinks about it twice. A few things make it worth thinking about anyway.

  • You are often not the data owner. A client's customer list, a patient's email or a colleague's phone number was given to you for a purpose. Sending it to a third party chat service was probably not that purpose.
  • Secrets travel in ordinary text. A stack trace or a config snippet can carry an API key or a token. Once pasted, it is in a place you do not control.
  • The AI does not need the real values. To summarise a complaint, rewrite an email or find the bug in a log, the model only needs to know that "this person" wrote to "that company". It does not need the actual address.

That last point is the useful one. If the real values are not needed, removing them costs you almost nothing.

The routine: placeholders in, originals back

  1. Strip. Replace emails, phone numbers, IBANs, card numbers, API keys and passwords with numbered placeholders such as [EMAIL_1] and [IBAN_1].
  2. Ask. Write your prompt against the cleaned text.
  3. Check. Read the answer. Does it refer to the placeholders correctly, and did it add anything that was not in your text?
  4. Restore. Put the original values back into the answer.

One detail makes this work well: the same value always gets the same placeholder. If [EMAIL_1] appears three times in your text, the AI can still follow who is writing to whom, and your answer stays coherent.

You can do this by hand with find and replace. It works, but it is slow, and you will miss things at 5 pm on a Friday.

Doing it in the browser, without a server

The detection part is mostly pattern matching, and pattern matching does not need a server. That is the design idea behind Scrub for AI, a browser extension we make at Muteware, a small Dutch software company.

Scrub for AI finds email addresses, phone numbers, IBANs, card numbers, API keys, tokens, passwords, IP addresses and Dutch BSN and VAT numbers, plus a list of your own terms. It replaces them with numbered placeholders, and one click puts the real values back into the answer. Detection and restoring run locally in your browser, without a server or an account, so the text you scrub is not sent anywhere by the extension.

Some practical notes:

  • The free version covers text: paste it in, scrub it, copy the clean version, and restore the answer afterwards.
  • A paid Pro version (one time purchase) adds Paste Guard, which scrubs automatically when you paste into the AI chat sites you choose, and scrubbing of files such as logs, CSV and JSON exports, Word documents and slide decks.
  • There is also a free online version that works in any modern browser, in case you cannot install extensions on a work machine.
  • It is available for Chrome and Firefox.

You can find it here: Scrub for AI. Prices and plans are on the pricing page.

What it does not do

This is the honest part, and it matters more than the feature list.

Scrub for AI finds patterns. It does not understand text. An IBAN or an email address has a recognisable shape, so it gets found. The name of a client, a project or a street does not have a shape, so it is only hidden when you add it to your own list of terms. That means:

  • It lowers the risk of sharing personal data. It cannot promise to catch everything.
  • Cleaned text is safer to paste, but it is not anonymous. Someone who knows the context may still work out who a story is about.
  • You should still read what you are about to paste. Treat the tool as a seatbelt, not as permission to drive faster.

A habit worth building

Whatever tool you use, or none at all, the habit is the same: before you paste work text into an AI chat, ask what in it identifies a person or opens a door. Remove that, keep the structure, and restore it afterwards. It takes seconds once it is routine, and it keeps you on the right side of your clients' trust.

If you try Scrub for AI, I would like to hear what it misses in your own text.

Disclosure: I work on Scrub for AI at Muteware, so I am not neutral. The routine above works without it. This post was written with the help of AI.