Anonymisation starts with purpose
Write the AI task in one sentence before transforming the data. For example: summarise the reasons customers churned, classify support themes, or identify anomalies in monthly costs. The purpose determines which relationships and values must survive.
Then remove whole fields, records, and attachments that are not necessary. Data minimisation is more reliable than trying to mask every item in an oversized source. It also produces a smaller, clearer prompt.
Do not assume that company information is low risk because it is not personal data. Prices, forecasts, product plans, customer lists, contract terms, system architecture, and investigation findings can create serious commercial or contractual exposure.
Identify direct and indirect identifiers
Direct identifiers include names, email addresses, telephone numbers, customer numbers, legal entity names, account IDs, and public profile links. Indirect identifiers—sometimes called quasi-identifiers—include combinations such as location, exact date, role, amount, rare event, or project description.
A single indirect field may be harmless. Several together can make a subject obvious. A row that says Head of Security, Sapporo office, joined 4 April, and handled a specific incident may identify one employee even after the name is removed.
Review free-text fields separately. Meeting notes, ticket descriptions, contract clauses, filenames, worksheet names, comments, and code examples often repeat identities that a column-based transformation misses.
Choose a transformation that preserves only what you need
| Technique | Useful when | Example |
|---|---|---|
| Delete | The field is irrelevant | Remove signatures and unused attachment pages |
| Consistent placeholder | Relationships must remain | Acme Ltd → Company A throughout the dataset |
| Generalise | Exact detail is unnecessary | 4 April 2026 → Q2 2026; city → region |
| Bucket or round | Ranges are sufficient | $983,412 → $1.0M or $750K–$1M |
| Synthetic substitute | Structure matters more than truth | Replace live account data with invented examples |
Use consistent placeholders where analysis depends on repeated actors. Randomly replacing the same customer with a different label on every row destroys the relationship and can make the output misleading.
If a lookup table can restore the original identities, protect that table separately and do not upload it with the transformed dataset. Treat the result as pseudonymised data with remaining risk rather than claiming it is anonymous.
Test the transformed copy
- Search for every original name, domain, ID prefix, project term, and distinctive phrase.
- Review the smallest groups and rarest records; these are often easiest to re-identify.
- Ask whether public knowledge or another internal dataset could reconnect the remaining details.
- Inspect metadata, comments, filenames, hidden content, and attachments.
- Check that totals, ordering, and relationships required for the AI task still make sense.
- Have a reviewer unfamiliar with the transformation try to infer the subjects.
NIST describes de-identification as a risk-management process rather than a one-time masking operation. The acceptable residual risk depends on the data, likely recipients, context, and consequence of re-identification.
ChatGPT and Claude still require destination review
A prepared copy does not remove the need to check service terms and settings. Consumer and commercial versions of an AI service can handle content differently, and policies can change. Confirm the exact workspace, training controls, retention, administrator access, and any connectors before upload.
When risk remains high, use an approved enterprise environment, an internally controlled model, a synthetic sample, or no upload. The tool selection follows the data decision—not the other way around.
Official sources
This guide uses primary sources available on August 19, 2026. Product policies and software features can change, so confirm current terms before handling sensitive material.
- SP 800-188: De-Identifying Government Datasets — NIST
- NISTIR 8053: De-Identification of Personal Information — NIST
- Data minimisation — UK Information Commissioner's Office
- How do we ensure anonymisation is effective? — UK Information Commissioner's Office
- Is my data used for model training? — Anthropic Privacy Center