herworkcircleDataCheck your data
For data owners

How to de-identify company data for AI training

Short answer

De-identifying company data means removing or replacing everything that points to a person, including names hidden in free text, while keeping relationships and reasoning intact. Good practice uses consistent stand-ins for each person, an independent specialist, human review of samples, deletion of raw copies and contracts that ban re-identification. Removing names alone is not enough.

How to de-identify company data for AI training: consistent stand-ins, free text handled, independent review, raw copies deleted
How to de-identify company data for AI training: consistent stand-ins, free text handled, independent review, raw copies deleted

What has to go: direct and indirect identifiers

Direct identifiers name a person on their own: names, email addresses, phone numbers, account numbers. Indirect identifiers only identify someone in combination, such as a job title, a city and a date. Latanya Sweeney's research found that about 87% of the US population was likely to be unique on just ZIP code, sex and date of birth.

Company messages are full of both, and of things no standard list covers. Tap a number in this made-up Slack message to see what a careful process would catch.

#billing-escalationsExample Slack thread, made up
@Priya can you loop in Dan from Northwind about invoice #44821?
He's the one who flagged it on the call last Tuesday
Project Bluefin is blocked until finance signs off
My take: refund now, fix the billing rule after, cheaper than losing them
Sent from my iPhone. Mark Ellis, Head of Ops, Austin
  1. Names and a customer's company: direct identifiers. Each person should become one consistent stand-in everywhere, not a blank.
  2. A dated event that someone could match to a calendar or a recording.
  3. An internal codename. Harmless-looking, but it can identify a client or a deal.
  4. This is the valuable part: a decision and its reason. A good process keeps it.
  5. A signature with a name, title and city. Signatures and quoted replies leak more than the message body.
Made up for this guide. Real threads carry many more details like these.

The main techniques

De-identification techniques for company data
TechniqueWhat it doesWatch for
Consistent replacementEach person or company becomes the same stand-in everywhere, such as "employee 632"The key must be held securely and separately
SuppressionRemoves a detail entirelyRemoving too much destroys the reasoning
GeneralisationReplaces a detail with a broader one: a city becomes a regionCombinations can still identify
Date shiftingMoves dates by a consistent amount, keeping the gaps between themPublic events can reveal the shift
Keyed hashingTurns an ID into a code only the key holder can reverseUnkeyed hashes of short IDs can be cracked

Google's documentation for its de-identification tools describes the consistent kind of replacement: a method that "generates identical tokens for each instance of an identical input value", so who-said-what survives. The weak kind is easy to break: in 2014, hashed taxi licence numbers in a public New York dataset were reversed in minutes because the hashes had no secret key.

Why free text is the hard part

Detection software helps, but its makers are frank about the limits. Microsoft's open-source Presidio warns that it may not find all sensitive information, and recommends other protections alongside it.

Re-identification keeps getting easier. A 2026 study showed that AI can link pseudonymous writing to real people at scale, concluding that "the practical obscurity protecting pseudonymous users online no longer holds." In 2006, AOL replaced users' names with numbers in published search logs, and The New York Times still identified a user from her searches alone.

Why the job belongs with an independent specialist

  • In-house clean-ups often delete the messy threads, which hold the decisions buyers value most.
  • Ad hoc redaction replaces people inconsistently and breaks the relationships in the data.
  • Your own staff know the context, so they miss what an outsider could use to identify someone.
  • Standards bodies recommend independence: NIST suggests a review board for de-identification, and HIPAA's expert route needs a qualified expert's documented judgement.

The UK regulator's test is a useful one to borrow: could a "motivated intruder", someone who wishes to identify a person from the data, succeed with ordinary resources? Plan for buyers who will hold the data for years, and for tools that will keep improving.

What a good process looks like

  1. Decide what is in scope, and leave out client data, privileged advice, health records and anything about children.
  2. An independent specialist processes the raw export in a controlled environment.
  3. Each person and company becomes one consistent stand-in; dates shift consistently; signatures and quoted replies are handled.
  4. People review a sample by hand for anything the software missed.
  5. The raw copy is deleted after processing, and the method is written down.
  6. The licence bans the buyer from re-identifying the data or passing it on.

Under California's privacy law, the last two steps are part of what makes data count as de-identified. See is selling company data legal.

Questions

Is removing names enough to de-identify data?

No. Signatures, quoted replies, dates, job titles, codenames and customer names can all identify people, especially in combination.

What is the difference between anonymised and pseudonymised data?

Pseudonymised data replaces identifiers with stand-ins that can be reversed with a key, so privacy law usually still applies. Anonymised data can't reasonably be linked to anyone.

Why keep consistent pseudonyms?

So the same person stays the same stand-in across every system. Buyers value who-said-what-to-whom, and inconsistent replacement breaks it.

Can AI re-identify de-identified text?

Increasingly, yes. A 2026 study showed AI linking pseudonymous writing to real people at scale, which is why independent review and contracts banning re-identification matter.

Should we de-identify our data ourselves?

It's usually safer not to. In-house clean-ups tend to remove valuable reasoning, miss hidden identifiers and lack the independence a buyer or regulator will expect.

Sources

  1. NIST SP 800-188: De-Identifying Government Datasets (September 2023) US National Institute of Standards and Technology
  2. How do we ensure anonymisation is effective? UK Information Commissioner's Office
  3. Transformations reference, Sensitive Data Protection Google Cloud
  4. Presidio: data protection and de-identification SDK Microsoft (open source)
  5. Large-scale online deanonymization with LLMs (February 2026) Lermen et al., on arXiv
  6. Simple demographics often identify people uniquely (2000) Latanya Sweeney, Carnegie Mellon University
  7. AOL search log release (2006) Wikipedia
  8. Lessons from improperly anonymized taxi logs (June 2014) FlowingData
  9. 45 CFR 164.514, de-identification of protected health information Legal Information Institute, Cornell Law School