
A lawyer can have an AI model summarise a contract without sending the parties' names: mask the names, addresses, identification numbers and signatures, keep the clauses, dates and amounts, give the model the masked text and put the names back in the answer on your side. The model summarises the deal and never learns who signed it.
What a contract carries about the parties
A commercial contract identifies its parties several times. The heading names each company with its legal form, registered office, registration number and VAT number, and the person who signs for it with a title and sometimes an address or an ID number. The body repeats the names in definitions, notices, guarantees and annexes, and the last page carries signatures, initials and often a stamp. Bank details appear in the payment clause, and an annex may list employees, named managers or customers.
Under the GDPR the people are personal data, whether they sign, represent, guarantee or receive notices (Article 4(1)). Recital 14 says the Regulation does not cover data about legal persons, such as the name and form of a company and its contact details. For a law firm that distinction carries less weight than it seems, because professional secrecy protects the client and the matter, companies included. The rules below are the ones a firm usually checks before a client document goes to an outside tool.
| Rule | Who it binds | What it covers | Source |
|---|---|---|---|
| CCBE Code of Conduct, Article 2.3 | Lawyers in the EU and EEA bars that adopted it | Everything learned in the course of professional activity, and the lawyer must require the same of everyone working on the matter | CCBE Code |
| Italy: Codice penale, Article 622 | Anyone who learns a secret through their profession | Disclosure of a professional secret without just cause is a criminal offence | Normattiva |
| Germany: BRAO § 43a(2) and StGB § 203(1) no. 3 | Rechtsanwälte and the people working for them | Duty of secrecy on everything learned in the profession, and its breach is a criminal offence | gesetze-im-internet.de |
| France: Law 71-1130, Article 66-5 | Avocats | Consultations, correspondence and every document in the file are covered by professional secrecy | Légifrance |
| Spain: Organic Law 6/1985, Article 542.3 | Abogados | Secrecy on all facts and information learned through any form of professional work | BOE |
What to mask and what to keep
| Element | Decision for an AI summary | Reason |
|---|---|---|
| Names of the parties, companies included | Mask | Covered by professional secrecy, and personal data for individuals |
| Names of signatories, representatives, guarantors, contacts for notices | Mask | Personal data |
| Addresses, registration and VAT numbers, ID numbers, IBAN | Mask | Identify the parties without the names |
| Signatures, initials, stamps, logos | Black out | Images that identify the parties |
| Clauses, definitions, obligations, conditions | Keep | What the summary is about |
| Dates, durations, notice periods, amounts, rates | Keep, unless one of them identifies the deal on its own | The model needs them to summarise terms |
| Annexes with lists of people or customers | Delete from the copy, or mask | Rarely needed for a summary |
Professional secrecy covers what the client entrusted to the firm. Placeholders let the model read the agreement without receiving the client.
Summarising with AI step by step
- Start from a copy of the signed or draft contract, as Word or PDF. A scan works if the text is read with OCR first.
- List the names that must never leave the firm: the parties, their groups and brands, the signatories, the people named in annexes. A name list also catches the brands and short names the contract uses after the definitions.
- Mask the names, addresses, registration and VAT numbers, IDs and bank details with consistent placeholders, so the same party has the same label in every clause.
- Black out signatures, stamps and logos, or leave the last page out of the copy.
- Read the masked text once. Look for an email domain, a product name or a place that gives away a party, and add it to the list.
- Give the model the masked text with a precise question: the obligations of each party, the termination clauses, the payment terms, the risks for your client, and tell it the role of each placeholder, for example that ⟦ORG_1⟧ is the supplier.
- Paste the answer and the map into the restore step to get the summary with the real names, and keep the map in the firm.
What can still go wrong
Masking does not remove context. A contract between the only two operators of a port, with a price and a date that the trade press reported, identifies the parties for anyone in that market, so a summary of a well-known deal may need the price or the place masked as well. The model can also infer a party from a quoted product name or a regulator mentioned in a clause, which is why step 5 asks for one reading of the masked text.
A second risk is the file itself. A Word contract carries tracked changes, comments with the names of the lawyers who made them and document properties with the client's name, and a PDF exported from it can keep the same data. Our guide to hidden metadata in Word, PDF and Excel lists where to look. The third risk is the provider: under Article 28 of the GDPR, a provider that processes personal data for the firm needs a contract that binds it as a processor, and the masked copy is still personal data for the firm that holds the map.
How Redactic masks a contract for AI
Upload the contract as Word, PDF or a scan, add the parties to the list of names that must always be masked, and Redactic replaces names, companies, addresses, ID and VAT numbers and IBANs with placeholders numbered the same way in the whole document. You review every item in Review and edit, and the name map stays in your browser. Copy the masked text into your own AI tool, then paste the answer and the map into Restore values to put the real names back, all in your browser. On a paid plan you can ask questions about the masked document inside Redactic and the answer comes back with the names restored, and with Firm the Secure Chatbot does the same for the whole team. The law firms page shows the flow for contracts, pleadings and client correspondence, the free trial takes your own document, and documents are never stored and never used to train AI models. Related guides: anonymisation, pseudonymisation and redaction and EDPB Guidelines 02/2026 and the SRB judgment.
Frequently asked questions
Are company names in a contract personal data?
Recital 14 of the GDPR says the Regulation does not cover data about legal persons, including the name and the form of the legal person and its contact details. The names of the people who sign, the representatives, the guarantors and any individual party are personal data. For a law firm the question is wider, because professional secrecy covers the client and the matter whether the client is a company or a person, so mask both.
Will the summary still be useful with placeholders?
Yes, for most questions. The model reads the clauses, the dates, the amounts and the structure, and it refers to ⟦ORG_1⟧ and ⟦PERSON_2⟧ in place of the names. If a clause depends on who a party is, for example a sector-specific obligation, tell the model the role in your prompt (the supplier, the licensee) without the name.
How do the real names come back into the summary?
The mapping between each placeholder and its value stays on your side. Paste the model's answer together with the map into the restore step and the names are put back locally. The provider of the AI model receives the masked text and the answer it produced, and never the map.
Is masking enough to meet professional secrecy?
Masking reduces what leaves the firm, and the decision to use an AI tool on client documents stays a professional one. Check the rules of your bar and your engagement letter, choose a provider with a data processing agreement, and remember that unusual clauses, prices or dates can still point to a client for a reader who knows the market.
Should I mask the amounts and the dates?
Keep them when the summary is about them, such as payment terms, penalties, duration and notice periods, because a summary without them loses its purpose. Mask a figure or a date only when it is so specific that it would identify the deal on its own, and mention in the prompt that the value was removed.
Sources
- Regulation (EU) 2016/679 (GDPR), Articles 4(1), 4(5) and 28, Recital 14, accessed 2026-11-12.
- CCBE, Charter of Core Principles and Code of Conduct for European Lawyers, Article 2.3 Confidentiality, accessed 2026-11-12.
- Italy, Codice penale, Article 622, Rivelazione di segreto professionale (in Italian), accessed 2026-11-12.
- Germany, Bundesrechtsanwaltsordnung (BRAO), § 43a (in German), accessed 2026-11-12.
- Germany, Strafgesetzbuch (StGB), § 203 (in German), accessed 2026-11-12.
- France, Loi n° 71-1130 du 31 décembre 1971, Article 66-5 (in French), accessed 2026-11-12.
- Spain, Ley Orgánica 6/1985 del Poder Judicial, Article 542.3 (in Spanish), accessed 2026-11-12.