Anonymize documents for AI

You want to analyze files with ChatGPT, Copilot, or another AI. Names, addresses, and health information should come out first. Here is how to do that without the AI losing the context.

objection-0847.pdfPage 1 of 3New 380 kV power line, North Section, ref. 25.17.03-0042/26
I, Petra Lehmann, Lindenweg 14, 12345 Musterstadt, hereby object. My house stands roughly 80 m from Pylon 27.
sent to AIPylon 27 stays visibleI, <PERSON_0>, <LOCATION_0>, hereby object. My house stands roughly 80 m from Pylon 27.

Bars or placeholders?

The same passage, prepared for an AI in two ways.

With black bars
objects, ref. . lives at . Their neighbor joins the objection and refers to the letter from .

The AI reads a text full of blanks. It cannot tell whether two black bars hide the same person.

With placeholders
<PERSON_0> objects, ref. <AKTENZEICHEN_0>. <PERSON_0> lives at <LOCATION_0>. Their neighbor <PERSON_1> joins the objection and refers to the letter from <PERSON_0>.

The AI sees that a second person is joining the first and can summarize cleanly. It never sees the real names.

In four steps

Open on your workstation

With the desktop app, the original stays on your computer.

Review and configure

Schwärzwerk marks names, addresses, file references, and health details. On the first documents, you adjust the glossary and data types; those settings then apply to every document that follows.

Choose placeholders

Pick a PDF with placeholders or plain text as output. With a shared numbering, the same person keeps the same placeholder across every document in a case, and you merge variants like “Mr. Müller” when Schwärzwerk suggests it.

Pass to the AI

The mapping table stays with you. Use it to map the placeholders in the AI’s reply back to the real names.

What to watch out for

  • Pseudonymized data remains personal data. You decide with your data protection officer whether you may hand a file to an AI.
  • Read the surrounding text as well. Even a job title or a rare place name can make a person identifiable.
  • Leave in what the AI needs for its task. If it should summarize a medical report, switch off health data and replace only names, addresses, and dates.
  • Think about the file itself. A PDF’s author, subject, and attachments often reveal more than the text, and Schwärzwerk cleans them up too.
  • Store the mapping separately, as required by Art. 4(5) GDPR.

Right in the browser

The extension for Chrome, Edge, and Firefox pauses uploads of PDFs, Word files, and images to ChatGPT, Claude, and Gemini and processes files and text before they leave your browser.

Go to the browser extension

The terms

How redacting, anonymizing, and pseudonymizing differ, with examples.

Go to the glossary
Dr. Tim Rietz
“Redaction is prep work. Your time belongs to the actual case.”
Dr. Tim Rietz, Respeak

Try it on one of your own files.

Create an account and your first documents are free: 5 in the cloud or 10 with the desktop app on your computer.

Try for free
Prefer to talk first?

Leave your email address. I’ll reach out personally so we can see whether Schwärzwerk fits your files.

Thanks. I’ll be in touch to set up a call.