Skip to content
    HAQQ
    • Preise
    Kostenlos starten
    Kostenlos startenDemo buchen
    Einloggen
    1. Startseite
    2. Blog
    3. Schreiben Sie nicht mehr [MANDANT]: So anonymisieren Sie ein Dokument, bevor Sie es einer KI geben
    Leitfäden & Anleitungen

    Schreiben Sie nicht mehr [MANDANT]: So anonymisieren Sie ein Dokument, bevor Sie es einer KI geben

    Namen durch [MANDANT] zu ersetzen ist laut einer Studie vom September 2026 eine der beiden Anonymisierungsmethoden, die KI-Antworten am stärksten verschlechtern. Halten Sie Entitäten stattdessen getrennt und typisiert.

    September 24, 2026
    10 Min. Lesezeit
    |
    HAQQ Team
    Schreiben Sie nicht mehr [MANDANT]: So anonymisieren Sie ein Dokument, bevor Sie es einer KI geben

    In short: swapping every name for [CLIENT] or [COMPANY], or drawing a black box over it, is the combination a September 2026 study found does the most damage to a model's answer. Keep every party distinct and typed, [LENDER-1] and [LENDER-2] rather than [COMPANY] twice, and you protect the same information while giving the model back the structure it needs. Then open the file and try to defeat your own redaction, because a black bar is a drawing, not a deletion.

    Three redactions that were not

    In January 2019, lawyers for Paul Manafort filed a response to the special counsel's claim that their client had lied to prosecutors. Parts of it were blacked out. Reporters copied the blacked-out passages and pasted them into a new document, where they read perfectly well. The hidden text described Manafort sharing 2016 polling data with Konstantin Kilimnik. The black bars were a visual layer sitting on top of the text. Nobody had removed the text underneath.

    In September 2023, the Federal Trade Commission's case against Microsoft's acquisition of Activision Blizzard, in the Northern District of California, produced the same failure with more money attached. Microsoft supplied the court with a link to its admitted exhibits on 14 September, and the court uploaded them to the public case page. The exhibits had not been redacted. Within a week, Microsoft's internal plans for future consoles and games were in the press. When people assumed the court had leaked them, the FTC's public affairs director wrote: "The FTC was not responsible for uploading Microsoft's plans for its games and consoles to the court website." Judge Jacqueline Scott Corley's order said the same thing in plainer terms. The parties had been ordered to provide redacted exhibits, and Microsoft provided the link.

    In April 2025, in the first days of the FTC's antitrust trial against Meta in the U.S. District Court for the District of Columbia, Meta's slides carried redactions that could be removed by copying the text out of the PDF. Underneath sat material from other companies, including a line that iPhone users tend to prefer Apple's own Messages app, and a Snap slide on competitors, TikTok among them, that were thriving. An Apple attorney called the disclosures "egregious". Snap's attorney described a "cavalier approach and casual disregard" for the companies dragged into the case. Meta's own attorney, Mark Hansen, suggested that a third party outside the trial team handle redactions from then on.

    Three cases over six years, with experienced counsel on every side, and none of them was a failure of redaction technique. Each was a failure to check what the file contained before it left the building. A black bar is a drawing. Deletion is a different operation, and you confirm it happened by trying to undo it.

    Four words that are not synonyms

    Lawyers use redaction, anonymization, pseudonymization and tokenization as if they meant the same thing. Regulators do not, and the difference decides whether you still hold personal data when you are done.

    TermWhat happens to the dataReversibleStill personal data under EU data protection law
    RedactionThe value is removed from the documentNoNo, if the removal is real and complete
    AnonymizationThe data can no longer be linked to a person by any means reasonably likely to be usedNoNo. Recital 26 takes anonymous information outside the regulation
    PseudonymizationIdentifiers are replaced, and the key that reverses the replacement is kept separatelyYes, with the keyYes. Article 4(5) defines it, and it stays inside the regulation
    TokenizationA value is swapped for a meaningless reference that maps back through a vaultYes, with the vaultYes, in practice

    Article 4(5) of the EU General Data Protection Regulation is worth reading once. Pseudonymisation is processing personal data "in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately". The definition assumes a mapping exists. The mapping is the point. Most products that sell an "anonymization" feature are doing pseudonymization, because the lawyer needs to know who [LENDER-1] was when the answer comes back.

    That is not a criticism. Pseudonymization is the right tool for feeding a document to a model, for the reason the next section gets to. It does mean the document is still personal data, and still carries whatever confidentiality and data residency duties applied before you touched it.

    Your placeholder changes the answer

    The choice of placeholder is not cosmetic. It changes what the model can reason about, and a paper published this month measured by how much.

    In September 2026, Deußer and colleagues published "On the Impact of Anonymization on the Performance of Large Language Models" (arXiv 2609.11335, first version 10 September, revised 15 September). They ran five language models across eleven benchmarks on original and anonymized inputs. Then they compared five anonymization techniques on GPT-4o mini across three of those benchmarks: redaction (the entity disappears), generalization (London becomes [CITY]), pseudonymization (London becomes a stable, entity-unique label such as LOC-1), randomization (a fixed random string) and masking (the first letters kept, the rest starred out).

    The line that matters, quoted in full:

    Generalization (e.g., "London" → "[CITY]") and Redaction (e.g., "London" → "") consistently resulted in the largest performance drops.

    On MuSR, a multi-step reasoning benchmark, generalization scored 0.58 and redaction 0.52, against 0.70 for pseudonymization and 0.73 for the untouched input. The authors' conclusion: techniques "preserving unique identifiers for distinct entities, even if abstract, are preferable for maintaining utility."

    Two more findings matter here. The more capable models, Qwen2.5-72B and GPT-4o mini, suffered the largest drops, which the authors read as a stronger reliance on specific entity information. Retrieval tasks (the RGB benchmark) collapsed under anonymization, while TruthfulQA, a benchmark about avoiding confident falsehoods, improved. Anonymization is not uniformly bad. It is bad for tasks that depend on who did what to whom, which is a fair description of most legal work.

    Now the limits, here rather than in a footnote. The tasks were medical question answering, multi-step reasoning puzzles and retrieval. No legal document was tested. The paper did not test realistic surrogate names (replacing Ahmad with Bilal), and it did not test role labels such as "Party A". Applying its results to a contract is our inference. We are reasoning from a paper about entity-dependent tasks to a document type that is almost entirely entity-dependent, and we think the step is sound. It is still a step we took, not one the authors did.

    Take a 40-page facility agreement with a borrower, two lenders, an agent bank and a guarantor. Replace every company name with [COMPANY] and you have merged five parties into one. The model can no longer tell whether the indemnity runs from the borrower to the agent or from the agent to the lenders, because the clause now reads "[COMPANY] shall indemnify [COMPANY]". Write [BORROWER-1], [LENDER-1], [LENDER-2], [AGENT-BANK-1] and [GUARANTOR-1] instead and you have protected exactly the same names while keeping the structure the answer depends on.

    Stop writing [CLIENT]. Write which client.

    A note on how this post got written. Our first draft's headline claimed that "Party A" is worse for the model than the real name. We cut it. The study never tested real names or role labels, so we would have been asserting something the paper does not show. That is precisely the over-reading this post warns against, and we nearly put it in the title.

    Why automated redaction cannot be trusted blindly

    Presidio is the open source anonymization engine that started at Microsoft, and the first warning on its documentation homepage reads:

    Presidio can help identify sensitive/PII data in un/structured text. However, because it is using automated detection mechanisms, there is no guarantee that Presidio will find all sensitive information. Consequently, additional systems and protections should be employed.

    A vendor being honest about its own limits is the most useful sentence in this section. Automated detection finds patterns: strings shaped like names, numbers shaped like passport numbers. It does not know that a project name identifies your client to anyone in the local property market, or that a costs figure in dirhams can be matched to one published judgment in a minute of searching.

    The failures that survive a clean-looking redaction tend to be the same four:

    • Metadata. The author field, the creation date, tracked changes and the revision history of a Word file that was exported to PDF. None of it is on the page and all of it is in the file.
    • The text layer. A scanned document with a black box drawn over the image still carries the recognised text underneath. That is what the Manafort filing and the Meta slides had in common.
    • Numbers and dates that re-identify by context. A contract value and a signing date will often narrow a deal to one candidate.
    • Amounts only one matter could have. Costs orders and settlement figures are searchable.

    The commercial tools for legal redaction include Relativity, Everlaw, Litera Blackout, Objective Redact, Adobe Acrobat and CaseGuard. Presidio is an open source option you can run on your own machine. We are not ranking them. The point of this post is that the tool matters less than the check afterwards. Any tool will produce a file that looks redacted. Whether it is redacted is a question you answer by opening the output and attacking it yourself: select all, copy, paste into a plain text editor, then read the document properties.

    HAQQ AI kostenlos testen

    Erleben Sie KI-gestützte juristische Recherche und Entwurf

    The two duties

    Redaction matters because of two obligations that lawyers tend to collapse into one.

    Confidentiality is owed to the client. It is the duty that makes you hesitate before pasting a term sheet into a chat window, and it is answered, in part, by removing what identifies the client before you do.

    Data residency is owed to the law. It is the question of where the data may physically sit and which regulator has jurisdiction over it. In the DIFC, Regulation 10, which covers personal data processed through autonomous and semi-autonomous systems, was enacted on 1 September 2023 and has been in full enforcement since 1 January 2026. Anonymizing a document reduces what you send. It does not move the AI provider's servers, and it does not answer whether processing personal data through that system is permitted for the matter in front of you.

    Anyone selling you redaction as a compliance answer is selling you half of one.

    There is a third thing redaction does not do. It does not make the conversation privileged. A federal court in New York ruled in February 2026 that documents a defendant produced with a consumer AI tool were neither privileged nor work product. We covered the ruling, and the door it leaves open for use directed by counsel, in our post on why AI conversations are not privileged. Redaction protects the client's identity. It does not protect the exchange.

    A process that works

    Five steps, in this order. None of them needs a budget.

    • Redact before you prompt, not after. Anything that reaches the model has already left your control, and editing the prompt later does not un-send it.
    • Use role-preserving pseudonyms and keep them consistent across the whole document. [LENDER-1] on page 3 is [LENDER-1] on page 38. If a party appears under two names, a full legal name and a defined term, both map to the same label.
    • Strip metadata as a separate, explicit step. Export a fresh PDF, then open the properties and look. Do not assume "save as" did it.
    • Read the output. Select all, copy, paste into a plain text file. If a redacted term reappears, the redaction was a drawing.
    • Keep the mapping somewhere the document is not. The key that turns [LENDER-1] back into a name is what makes the document pseudonymized rather than anonymized. It belongs in the matter file, not in the folder you sent.

    We did the same thing to our Lebanese waqf benchmark before publishing it. The family was not ours to name, and the legal structure had to survive intact for the test to mean anything. Both were possible at once. They usually are.

    Key takeaways

    • A black bar is a drawing. Confirm deletion by trying to defeat your own redaction.
    • Redaction, anonymization, pseudonymization and tokenization are four different operations, and only the irreversible ones take the data outside the scope of EU data protection law.
    • In the September 2026 study, generalization ([CITY]) and redaction produced the largest performance drops. Entity-unique pseudonyms did best. No legal task was tested, so the contract application is our inference.
    • Automated detection has limits its own vendors put in writing. Put a human check on top.
    • Anonymization answers confidentiality. It does not answer data residency, and it does not create privilege.
    • Deußer et al., On the Impact of Anonymization on the Performance of Large Language Models, arXiv 2609.11335 v2, 15 September 2026
    • Columbia Journalism Review, Thank you to everyone who can't redact documents properly, 10 January 2019
    • Techdirt, Leaker of those FTC/Microsoft documents revealed: it was Microsoft, 21 September 2023
    • The Verge, Google, Apple, and Snap aren't happy about Meta's poorly-redacted slides, 16 April 2025
    • Presidio documentation, warning callout on the homepage
    • Regulation (EU) 2016/679, the General Data Protection Regulation, Article 4(5) and Recital 26
    • DIFC Commissioner of Data Protection, Regulation 10
    • Mayer Brown, AI regulation in the DIFC: personal data processed through autonomous and semi-autonomous systems, January 2026
    H

    HAQQ Team

    Editorial

    Verwandte Ressourcen

    Are AI Chats Privileged? A Federal Court Says NoAI Prompts for Lawyers: 168-Prompt Library + 2026 GuideWe tested nine AI systems on a Lebanese waqf matter

    Verwandte Artikel

    Das Tool zu kaufen ist der einfache Teil: die Umsetzungslücke bei Legal AI

    Das Tool zu kaufen ist der einfache Teil: die Umsetzungslücke bei Legal AI

    KI-Vertragsprüfung 2026: Der vollständige Leitfaden für Anwälte

    KI-Vertragsprüfung 2026: Der vollständige Leitfaden für Anwälte

    Die beste Rechts-KI für Einwanderungsanwälte

    Die beste Rechts-KI für Einwanderungsanwälte

    Häufig gestellte Fragen

    Is replacing names with [CLIENT] enough to anonymize a contract for AI?

    It removes the names, but it also merges every party into one label. A September 2026 study (arXiv 2609.11335) found that generic labels and redaction produced the largest drops in model performance of the five techniques it tested. Use distinct, typed pseudonyms such as [LENDER-1] and [LENDER-2] so the model keeps the structure it needs. The study did not test legal documents, so the contract application is an inference.

    What is the difference between anonymization and pseudonymization in legal work?

    Anonymization is irreversible: the data can no longer be linked to a person by any means reasonably likely to be used, and Recital 26 of the EU General Data Protection Regulation places it outside the regulation. Pseudonymization replaces identifiers but keeps a separate key that reverses the replacement, so under Article 4(5) of the same regulation it remains personal data. Most "anonymization" features in legal software are pseudonymization, because the lawyer needs the key to read the answer.

    Does anonymizing a document make AI less accurate?

    Usually, and the technique decides how much. In the September 2026 study, entity-unique pseudonyms kept multi-step reasoning close to the original (0.70 against 0.73 on MuSR), while generalization (0.58) and redaction (0.52) hurt most. Retrieval tasks dropped sharply, one benchmark (TruthfulQA) improved, and the more capable models lost more.

    Can automated redaction software be trusted to find everything?

    Presidio's own documentation says that because it uses automated detection there is no guarantee it will find all sensitive information, and that additional protections should be employed. Metadata, the text layer under a black box, and figures that re-identify by context are the usual survivors. Check the output by copying it into a plain text editor and reading the document properties.

    Which redaction tools do lawyers use?

    Commercial options include Relativity, Everlaw, Litera Blackout, Objective Redact, Adobe Acrobat and CaseGuard. Presidio is an open source engine you can run locally. Whichever you use, confirm the output yourself, because any tool produces a file that looks redacted.

    Does redacting a document make my AI conversation privileged?

    No. A federal court in New York ruled in February 2026 that documents produced with a consumer AI tool were not privileged and not work product. Redaction protects the client's identity in the text. It does not change the legal status of the exchange.

    Was kommt als Nächstes?

    HAQQ AI kostenlos testen

    Erleben Sie KI-gestützte juristische Recherche und Entwurf

    ROI berechnen

    Sehen Sie, wie viel Zeit und Geld HAQQ Ihrer Kanzlei spart

    380+ juristische Prompts durchsuchen

    Sofort einsatzbereite Prompts für jede juristische Aufgabe

    Zurück zum Blog

    Vorheriger Artikel

    Vertragspartner-Due-Diligence in Sekunden: Was US-amerikanische öffentliche Aufzeichnungen zeigen und was sie übersehen

    Inhaltsverzeichnis

    10 Min. Lesezeit

    Share this

    Setzen Sie das ein

    Stellen Sie HAQQ die Frage, die dieser Artikel bei Ihnen aufgeworfen hat.

    HAQQ across all devices
    HAQQ Legal AI Platform Logo

    Ihr juristischer KI-Zwilling und Kanzleimanagement-System für Entwurf, Abrechnung und Gewinnen.

    Download on theApp StoreGet it onGoogle Play

    Dokumentationen

    • Docs wird in einem neuen Tab geöffnet
    • Erste Schritte wird in einem neuen Tab geöffnet
    • Newsroom wird in einem neuen Tab geöffnet
    • Produkt-Updates wird in einem neuen Tab geöffnet
    • Status wird in einem neuen Tab geöffnet
    • Sicherheit
    • FAQ wird in einem neuen Tab geöffnet
    • Community wird in einem neuen Tab geöffnet
    • Support wird in einem neuen Tab geöffnet

    Academy

    • Partner wird in einem neuen Tab geöffnet
    • Kurs wird in einem neuen Tab geöffnet
    • Rechtsnews wird in einem neuen Tab geöffnet
    • Skills wird in einem neuen Tab geöffnet
    • Klauseln wird in einem neuen Tab geöffnet
    • Prompt-Bibliothek wird in einem neuen Tab geöffnet
    • Tools wird in einem neuen Tab geöffnet
    • Research Hub wird in einem neuen Tab geöffnet
    • Dokumente wird in einem neuen Tab geöffnet

    Website

    • eFirm
    • Juristischer KI-Chat
    • Mobile App
    • Justinian KI-Engine
    • HAQQ eBar
    • HAQQ eWallet
    • Preise
    • Vergleichen Sie uns
    • Lösungen
    • Blog
    • Team kennenlernen
    • Mach mit wird in einem neuen Tab geöffnet
    App öffnen
    • Sprachenenarfresitdeptrohi
    • Kontaktinfo@haqq.ai
    • Statusbetriebsbereit·fundiert
    • Nutzungsbedingungen
    • Datenschutzrichtlinie
    • Cookie-Richtlinie
    • Datenverarbeitung
    • Menschen wird in einem neuen Tab geöffnetAnwälte wird in einem neuen Tab geöffnetSicherheit wird in einem neuen Tab geöffnet
    © 2026 HAQQ Inc. Alle Rechte vorbehalten.Produkt intern von HAQQ entwickelt. Website mit modernen Web-Tools gebaut.