LEGAL DOCUMENTS AND CLIENT CONFIDENTIALITY

Anonymize legal documents locally before AI review

Anonymise contracts and client correspondence on your own device, give the AI the anonymised copy, and restore the real names in the draft it sends back.

Real app output · Full document below ↓

SEE IT ON A REAL DOCUMENT

One contract, from original to restored answer.

Give the AI the anonymised contract, get a revised contract back, and restore it on your device. The AI works with placeholders instead of names, addresses and identifiers.

consultancy-agreement-sample.pdfYOUR ORIGINAL
The fictional consultancy agreement: two companies, their addresses and register numbers, a project lead, fees with an IBAN, notice contacts with email and phone, and two signature blocks. Opens the PDF.

What gets redacted in a legal document

Detection runs on your device and replaces each value with a labelled placeholder. The same party keeps the same placeholder throughout, so the AI can still follow who owes what to whom.

  • People and parties. Clients, counterparties, directors, signatories and witnesses.
  • Contact details. Addresses, email addresses and phone numbers, including those in notices clauses and signature blocks.
  • Account references. Bank account numbers and IBANs in payment terms.
  • Dates. Signing, effective and termination dates.
  • Your own terms. Matter references, deal codenames and trading names that generic detection can miss. Add them as custom terms or save them as presets, where your plan includes custom terms.
Illustration: a contract page where highlighted names and numbers on the left become placeholder tokens on the right.

Who it's for

Lawyers and paralegals

Ask an AI to summarise, compare or redraft a clause without giving it client names, addresses or account numbers. Restore the real names in the draft it returns.

IT and security

Individual runs entirely on the device. Enterprise sends content only to a server your organisation installs and runs on its own infrastructure. Neither routes documents through DataAnonymiser-operated infrastructure.

Risk and compliance

Exports are new files, so author metadata, tracked changes and embedded objects stay behind, and a PDF keeps its own pages with the values cut out of them. The placeholder mapping lasts only for the session.

Try it on a contract of your own

AI-based detection finds names, parties and account numbers on your own device, and puts them back in the draft the AI returns.

What the exported Word file, PDF or spreadsheet keeps

  • New files, originals untouched. Your original is never changed. Metadata, revision history, tracked changes, embedded objects, macros and links are not carried over. Headers, footers and comments are anonymised with the body.
  • A PDF keeps its pages. Each value is cut out of the page and replaced by a black box with its placeholder, in the original layout, and signatures, stamps and images become grey boxes. A scanned page cannot be redacted in place and comes back as a text PDF. A Word file keeps its basic formatting and numbering, and a spreadsheet keeps cell values only. Before you file or disclose a redacted PDF, check it under your firm's redaction process.
  • File names can identify a client. They are kept unless you choose neutral names.
  • Not a redline. Compare the AI's revision through your normal review tools. A changed exception, negation or defined term can alter a provision.
  • Restore within the session. The mapping lives in the current session; reopening a file later does not recreate it. Check that each restored name sits in the right obligation.
  • Pseudonymisation, not anonymity. Placeholders reduce the link to a person. They do not make a contract legally anonymous or settle questions of privilege [4].
  • Approval stays with your firm. Whether a contract may go to an AI tool is for your firm's policy and professional rules to decide, not redaction. See the SRA's guidance on client confidentiality [1] and its AI warning notice [3], or ABA Formal Opinion 512 in the US [2].
Illustration: comments, tracked changes, images and attachments fall away as a document passes through, leaving one clean anonymised page.
  1. [1]SRA: confidentiality of client information (England and Wales)
  2. [2]ABA Formal Opinion 512: Generative Artificial Intelligence Tools (US Model Rules)
  3. [3]SRA: misuse of AI warning notice (England and Wales)
  4. [4]EDPB: anonymisation and pseudonymisation

Frequently asked

Questions about this workflow.

Can I anonymize a contract before using an AI tool?

Yes. DataAnonymiser replaces detected identifiers and your own custom terms on your device, and you review the rest. Whether the result may go to a particular AI service depends on the matter, your firm's policy and the applicable professional rules.

Does redaction preserve attorney-client or legal professional privilege?

DataAnonymiser makes no privilege determination or preservation guarantee. The responsible lawyer must assess the material, the proposed use and the applicable jurisdiction.

Can I redact company names and project codenames?

Yes, where your plan includes custom terms. Add the names, codenames and matter references you need hidden, including their variants. Replacing a codename does not conceal the strategy described around it, so read the surrounding paragraph too.

Are custom terms and presets saved anywhere?

Term presets are saved locally on your device; the placeholder mapping is not. A preset containing client names is another record to manage, so handle it the way the firm handles matter information.

Does our document content reach the vendor?

No. Individual runs on the device, and explicitly configured Enterprise clients use your organisation's own server. Sharing the output with an AI service remains your separate decision.

Related

Where else this comes up.

PDF REDACTION

Redact a PDF on your own computer, for free

Black out emails, phone numbers, IBANs and ID numbers in a PDF on your own computer, with the original layout kept and nothing uploaded.

PSEUDONYMISATION

A local pseudonymisation tool to replace and restore identifiers

Replace identifiers with consistent placeholders and restore them locally during the working session. Review documents before sharing with AI or another reader.

COMPARE

How this compares to the alternatives

Cloud redaction APIs, browser-only extensions and self-hosted libraries — what each one trades away.

REFERENCE

What is data anonymisation?

How anonymisation, pseudonymisation and masking differ in law, and which one actually takes data outside GDPR.

This guide describes document preparation, not legal advice. DataAnonymiser does not guarantee complete removal of confidential information, legal anonymity, preservation of privilege or the accuracy of AI-generated drafting. Apply the rules and review process governing your matter.

Use any AI. Keep your data.