# How to de-identify records before licensing them to AI

Updated November 15, 2026

## In short

De-identifying records before licensing them means more than deleting names. Remove direct identifiers, generalize or drop the details that could point to a person indirectly, scrub free text like ticket notes and email bodies, then test whether someone could still work out who is who. Write down what you did. Leave out records that can’t be cleaned, such as HR, health and payment files.

*Information only, not legal advice.*

## What is the difference between de-identified and anonymized data?

De-identified data has had direct identifiers removed, but someone could still link it back to a person. Anonymized data has no serious possibility of identifying anyone, and that is the bar that takes it outside privacy law.

| Term | What it means | Still personal information? |
| --- | --- | --- |
| Pseudonymized | Names and IDs swapped for codes or tokens, with a key kept somewhere | Yes ([ICO](https://scl.org/?p=18079)) |
| De-identified | People can no longer be identified directly ([Miller Thomson](https://www.millerthomson.com/en/?p=6667)) | Yes, if they can still be linked back |
| Anonymized | It is reasonably foreseeable, at all times, that no one can be identified, directly or indirectly ([Davies](https://dww.com/sites/default/files/2024_05_24_client_advisory_-_quebecs_new_legal_framework_for_the_anonymization_of_personal_information.pdf)) | No |

In Quebec, the residual risk after anonymization does not have to be zero, but it must be “very low” ([Miller Thomson via Mondaq](https://www.mondaq.com/canada/privacy-protection/1471128/the-government-of-qu%c3%a9bec-publishes-a-regulation-respecting-the-anonymization-of-personal-information)). Our [Canadian privacy guide](https://ossingtondata.com/guides/selling-company-data-to-ai-canada) covers which law applies and when consent is needed. This guide covers how the work is done.

## What has to come out of tickets, claims, email and chat?

Three layers: direct identifiers, indirect identifiers, and personal details buried in free text. Names are the easy part. In the Loblaw investigation, the federal regulator found that IP addresses, email domains and purchase histories could still identify people ([Torkin Manes](https://www.torkin.com/insights/publication/privacy-commissioner-of-canada-s-latest-findings-shed-light-on-the-requirements-for-anonymizing-retained-data)).

| Layer | Examples in company records | Usual treatment |
| --- | --- | --- |
| Direct identifiers | Names, email addresses, phone numbers, street addresses, account and policy numbers, licence plates, IP addresses | Remove, or replace with a consistent token so one customer’s tickets still link together |
| Indirect identifiers | Exact dates, postal codes, rare job titles, unusual claim amounts, small branch or region names | Generalize (month or year instead of the date, region instead of the postal code) or drop |
| Free text | Ticket notes, claim adjuster notes, email bodies, chat transcripts, signatures, attachments | Scrub with detection tools, then sample and review by hand |
| Sensitive records | HR files, health and medical details, payment card data | Leave out of the dataset entirely |

A useful reference point is the US health standard, which lists 18 identifier types, including vehicle, device and licence numbers, and requires them to be removed “regardless of its location” in a record, free text included ([HHS](https://www.hhs.gov/hipaa/for-professionals/special-topics/de-identification/index.html)). It also keeps only the year from dates (same source).

Free text is the hard part. The UK regulator’s 2026 draft guidance warns that in text, the content itself may identify a person even after names and emails are removed, and that removing direct identifiers may not be enough for AI datasets such as call recordings ([Burges Salmon](https://www.burges-salmon.com/articles/102nzuw/ico-consults-on-draft-guidance-on-anonymisation-and-pseudonymisation-for-research)). A ticket that says “the only customer in Moose Jaw with a 2019 electric pickup” names nobody and still points to one person.

## What are the steps?

Set the purpose, take out what you can’t clean, remove and transform identifiers, then test and document. Ontario’s privacy regulator updated its de-identification guidelines in October 2025 with a 12-step process along these lines, and says any organization can use them ([Carters](https://www.carters.ca/ontario-ipc-releases-updated-de-identification-guidelines-to-strengthen-responsible-data-use/), [IAPP](https://www.iapp.org/news/a/ontario-s-ipc-updates-internationally-renowned-de-identification-guidelines)).

1. **Set the purpose first.**

   Write down what the buyer will use the data for and who will receive it. Quebec’s anonymization regulation requires the purpose to be set before the process starts ([Miller Thomson](https://www.millerthomson.com/en/?p=6667)).
2. **Inventory and exclude.**

   List the systems, fields and attachment types in scope. Drop HR files, health details and payment card data before anything else.
3. **Remove direct identifiers.**

   Quebec’s regulation requires everything that directly identifies a person to be removed at the start ([Miller Thomson](https://www.millerthomson.com/en/insights/cybersecurity/government-quebec-regulation-anonymization-personal-information/)). Use consistent tokens where the buyer needs to follow one customer across many tickets.
4. **Transform indirect identifiers.**

   Generalize dates, places and amounts, and suppress rare values. US federal guidance names removing identifiers, transforming quasi-identifiers and generating synthetic data as the main techniques ([NIST SP 800-188](https://csrc.nist.gov/pubs/sp/800/188/final)).
5. **Scrub free text.**

   Run detection tools over notes, bodies and transcripts, then have a person review a sample. NIST warns that tools that only mask personal information do not always do enough ([NIST](https://www.nist.gov/publications/de-identifying-government-datasets-techniques-and-governance)).
6. **Test re-identification risk.**

   Ask whether a determined outsider could still pick people out. The UK regulator calls this the motivated intruder test and now counts generative AI tools among the resources that outsider has ([Pinsent Masons](https://www.pinsentmasons.com/en-gb/out-law/analysis/ico-anonymisation-guide-uk-data-protection-compliance)). Quebec’s analysis looks at three risks: singling a person out, linking records to the same person, and inferring facts about them ([Miller Thomson](https://www.millerthomson.com/en/?p=6667)).
7. **Document it.**

   Quebec requires a register listing what was anonymized, the purpose, the techniques and safeguards, and when the risk analysis was done and updated ([Mondaq](https://www.mondaq.com/canada/privacy-protection/1476924/new-qubec-regulation-governing-how-personal-information-can-be-anonymized-in-compliance-with-privacy-law)). Keep the same record outside Quebec; it is what you show a regulator or a buyer.
8. **Review it over time.**

   Risk changes as new public data appears. Ontario’s guidelines call for periodic monitoring ([Davies](https://www.dww.com/articles/ontario-releases-updated-deidentification-guidelines)), and in Quebec how often to update the analysis depends on the risks found in the last one ([Langlois](https://langlois.ca/en/insights/anonymization-of-personal-information-in-quebec-the-regulation-respecting-the-anonymization-of-personal-information-is-coming-into-force/)).

## Who should do the de-identification?

Someone qualified, and not just whoever exports the data. Quebec’s regulation requires anonymization to be carried out under the supervision of a qualified person ([Miller Thomson](https://www.millerthomson.com/en/insights/cybersecurity/government-quebec-regulation-anonymization-personal-information/)). Practitioners generally use special-purpose software to transform the data and estimate re-identification risk ([NIST](https://www.nist.gov/publications/de-identifying-government-datasets-techniques-and-governance)).

In the deals Ossington arranges, a sample is de-identified by an independent firm or by the buyer’s own audited process, and HR, health and payment records are left out. Either way, the work is checked before anything leaves your systems.

The contract matters as much as the technique, because de-identified data can still be linked back. Ontario’s guidelines include checklists for a recipient’s safeguards and for data sharing agreement clauses ([Davies](https://www.dww.com/articles/ontario-releases-updated-deidentification-guidelines)). Get these in writing:

- Term: No re-identification

  What to check: The buyer may not try to identify anyone. Canada’s proposed Bill C-36 would make this a legal ban ([Osler](https://www.osler.com/en/insights/reports/the-protecting-privacy-and-consumer-data-act-bill-c-36-key-obligations-and-enforcement-overview/legislative-intent-and-purpose-application-and-definitions/))
- Term: No linking

  What to check: The buyer may not combine your data with other sources to single people out
- Term: Notice

  What to check: The buyer tells you if it finds personal information that was missed
- Term: Onward sharing

  What to check: The buyer may not pass the data to anyone else without your OK
- Term: [Deletion](https://ossingtondata.com/guides/ai-training-data-glossary#deletion-clause)

  What to check: What must be deleted at the end of the [term](https://ossingtondata.com/guides/ai-training-data-glossary#term), and proof that it was

These sit alongside the other licence terms covered in [licensing vs selling](https://ossingtondata.com/guides/licensing-vs-selling-data-ai).

## How do you start?

1. Start with an inventory, not an export. Nothing needs to leave your systems to find out what you hold and how much of it can be cleaned.
2. Ossington does this as a free 30-minute assessment: a look at what records your team holds, what would need to be removed or left out, and a realistic value range. Nothing is shared without your OK. [Get a free assessment →](https://ossingtondata.com/assess)

## FAQ

### Is removing names enough to de-identify data?

No. Dates, postal codes, account numbers, IP addresses and details in free text can still point to a person. Regulators look at whether someone could be identified indirectly, not just directly.

### What is the difference between de-identified and anonymized data?

De-identified data has direct identifiers removed but could still be linked back to people, so it is still personal information. Anonymized data has no serious possibility of identifying anyone.

### Can support tickets and email be de-identified?

Yes, but free text takes the most work. Run detection tools over the text, then have a person review a sample, because tools that only mask identifiers do not always do enough.

### Do we have to de-identify the data ourselves?

No. The work can be done by an independent firm or by the buyer's own audited process. Your business stays accountable, so check the results and get the safeguards in writing.

### Which records should be left out entirely?

HR files, health and medical details, and payment card data. Ossington leaves them out of every dataset it arranges.

### Is this guide legal advice?

No. It is general information drawn from the sources linked. Have your own lawyer review any licence before you sign.

Find out what your business could earn.

[Get a free assessment](https://ossingtondata.com/assess)

## Related guides

- [Selling company data to AI in Canada Can a Canadian business license its records to AI developers? What PIPEDA and Quebec's Law 25 require, when consent is needed, and how de-identification works.](https://ossingtondata.com/guides/selling-company-data-to-ai-canada)
- [Licensing customer support records to AI Can Canadian companies license support tickets and chat logs to AI developers? Which records have value and three things to check first.](https://ossingtondata.com/guides/license-customer-support-records-to-ai)
- [Licensing insurance records to AI Can Canadian insurers and brokers license claims and policy records to AI developers? Which records have value and three things to check first.](https://ossingtondata.com/guides/license-insurance-records-to-ai)

## Find out what your business could earn.

A free 30-minute look at your records and your crews, with a realistic range. No obligation.

[Get a free assessment](https://ossingtondata.com/assess)

Free 30-minute assessment: https://ossingtondata.com/assess. Contact: hello@ossingtondata.com
