AI Guide by Zaiq

AI for SA business

How to anonymise data before using AI (POPIA-safe, step by step)

The safest way to use AI on customer data is to make sure it is no longer personal information. That is what it means to anonymise data before using AI: remove or blur every detail that could lead back to a real person, so POPIA’s rules on personal information stop applying. The work is not complicated, but it is more than deleting the name. Here is the POPIA-safe way to do it.

Why anonymising works under POPIA

POPIA (the Protection of Personal Information Act 4 of 2013) governs personal information. Section 6 says the Act does not apply to personal information that has been de-identified to the extent that it cannot be re-identified again. So if you genuinely de-identify a dataset, it falls outside POPIA and you can put it to work in an AI tool without the Act’s conditions on processing, security or cross-border transfer.

That matters because most AI tools process data outside South Africa, and consumer plans often use what you type for training. OpenAI’s pricing page, for example, says content on its consumer ChatGPT plans is used to train its models unless you opt out, and Google says some Gemini chats are read by human reviewers while Keep Activity is on. Anonymised data takes those worries off the table.

Anonymise vs pseudonymise: the difference that matters

These words get used as if they were the same, and the gap between them is where businesses get caught.

Anonymised data is irreversible: the identifying detail is gone and cannot be rebuilt, so under section 6 it is outside POPIA. Pseudonymised data is reversible: you swap a customer’s name for a code such as Customer 12 but keep a key that maps it back. While that key exists, the data still identifies someone, so it remains personal information.

POPIA’s own definition sets a high bar. To de-identify means to delete any information that identifies the person, that can be used or manipulated by a reasonably foreseeable method to identify them, or that can be linked by a reasonably foreseeable method to other information that identifies them. Swapping in a label while you hold the key does not meet that test.

How to anonymise data before using AI, step by step

Work through it in order; each step removes a layer.

List the identifiers. Go through the dataset and find every field that could identify a person, on its own or in combination: name, ID number, account or policy numbers, email, phone, physical address.

Remove direct identifiers. Delete or replace the obvious ones before anything goes near the AI tool. These name a person outright, so they go first.

Generalise quasi-identifiers. Blunt the details that can identify someone in combination: exact date of birth becomes an age band, a full address becomes a suburb or region, a rare job title becomes a broad category. This step is what separates real de-identification from a deleted name.

Check re-identification risk. Look at what is left and ask whether someone could still work out who it is, especially in a small town or a niche dataset where one record is unusual. If yes, generalise further.

Keep any key separate. If you have to keep a mapping to the real person, store it separately and securely, and never paste it into the AI tool.

Record what you did. Note what you removed and why. A short record lets you show your de-identification was reasonable if anyone asks.

Direct identifiers, quasi-identifiers and linking fields

TypeExamplesHow to treat it
Direct identifierName, ID number, passport number, email, phone, account or policy numberDelete or replace before the data leaves your system
Quasi-identifierDate of birth, suburb or postal code, gender, employer, job title, raceGeneralise into bands or broad categories so no combination is unique
Linking fieldA reference number that ties back to another identifying recordRemove it, or keep the key separately and never with the data

A worked example

Here is a hypothetical case. A Pretoria physiotherapy practice wants AI to find patterns in which treatments lead to fewer follow-up visits. Its spreadsheet has patient names, ID numbers, dates of birth, suburbs, medical aid numbers, treatment codes and visit dates. Health information is special personal information under section 26, so it must not reach an AI tool in identifiable form.

The practice could delete names, ID numbers and medical aid numbers; turn dates of birth into ten-year age bands; replace suburbs with broad regions; and turn exact visit dates into weeks since the first visit. If one patient is the only 80-year-old from a small area, it could group that record further or leave it out. What remains, treatment codes and follow-up counts by age band, answers the question without identifying anyone.

Checking re-identification risk

De-identification is judged on whether the data can realistically be re-identified, not on whether you ticked off a list of fields. Risk rises sharply in small populations and unusual combinations. A record describing a 42-year-old female attorney in a town of 3,000 may point to exactly one person with no name attached, while the same details in Johannesburg point to thousands.

So the test is contextual. In a large, ordinary dataset, modest generalisation may be enough. In a small or unusual one, generalise harder, or do not use that data in a public AI tool at all. A useful check is to ask a colleague who does not know the customers whether they could name anyone from what is left.

When anonymising is not enough

Sometimes the task is about a specific, named person: drafting a reply to a named customer, working a real claim, acting on one client’s account. You cannot anonymise that and still do the job. Use a business AI plan with a data processing agreement and training switched off, so the personal information is handled under contract as POPIA requires. Remember that while data is still personal information, sending it to an AI service outside South Africa is also a cross-border transfer under section 72.

For how the main tools compare on this, see POPIA-compliant AI tools, can you put customer data into ChatGPT and ChatGPT free vs paid in South Africa. If you want anonymisation built into your own workflow so staff cannot skip it, Zaiq’s AI automation work covers that kind of build.

This is general information, not legal advice. For a high-risk or consequential processing decision, confirm with a POPIA practitioner.

Anonymise data before using an AI tool

Strip identifying detail so the data falls outside POPIA before you put it into ChatGPT or any AI tool.

  1. List the identifiers

    Find every field that could identify a person: name, ID number, account or policy numbers, email, phone, address, and combinations of these that together point to one individual.

  2. Remove direct identifiers

    Delete or replace the obvious ones, such as name, ID number, contact details and account numbers, before anything goes near the AI tool. These are the fields that name a person outright.

  3. Generalise quasi-identifiers

    Blunt the indirect ones: exact date of birth to an age band, full address to a suburb or region, rare job titles to broad categories. In combination these can identify someone, so widen them.

  4. Check re-identification risk

    Ask whether someone could still work out who this is from what is left, especially in a small town or a niche dataset where one record stands out. If the answer is yes, generalise further.

  5. Keep any key separate

    If you must keep a mapping back to the real person, store it separately and securely. Never paste that key into the AI tool, because it is what turns de-identified data back into personal information.

  6. Record what you did

    Note what you removed and why, so you can show your de-identification was reasonable. A short record is your evidence that the data was genuinely taken outside POPIA's scope.

Questions people ask

What is the difference between anonymising and pseudonymising data?

Anonymising means de-identifying data so it cannot be re-identified, which under POPIA section 6 takes it outside the Act. Pseudonymising is reversible: you swap a name for a code but keep a key that maps it back. That key means the data still identifies a person, so it remains personal information and POPIA still applies in full.

Does de-identified data fall under POPIA?

Genuinely de-identified data does not. Section 6 says the Act does not apply to personal information that has been de-identified to the extent that it cannot be re-identified again. If someone could realistically reverse it, using the data itself or by linking it to other information, it is not truly de-identified and the Act still applies.

Is removing the name enough to anonymise data?

No. POPIA's definition of de-identify covers information that identifies the person, information that can be used or manipulated by a reasonably foreseeable method to identify them, and information that can be linked to other identifying information. Details like date of birth, suburb and a rare job title can identify someone in combination, so you must deal with those too.

Can anonymised data be used in ChatGPT freely?

If it is truly de-identified, POPIA no longer applies to it, so you can use it in ChatGPT or any other tool without the Act's conditions. The work is making sure it really is anonymised first: direct identifiers gone, quasi-identifiers generalised, re-identification risk checked. If any real personal detail remains, treat it as personal information.

What are quasi-identifiers?

Quasi-identifiers are details that do not name a person on their own but can identify them in combination, such as date of birth plus suburb plus gender, or a rare job title in a small town. POPIA's test for de-identification means you have to blunt these, usually by grouping them into ranges or broader categories, not just delete the obvious identifiers.

How do I anonymise financial data for AI?

Remove the direct identifiers first: names, ID numbers, account and policy numbers and contact details. Then generalise what is left: exact amounts into bands, full dates into months, branches into regions, so no record can be tied back to one client. If you must keep a key to the real person, store it separately and never paste it into the AI tool.

Sources

  1. Protection of Personal Information Act 4 of 2013, sections 1 and 6 (gov.za)
  2. Information Regulator, POPIA resources and guidance notes
  3. ChatGPT pricing, including the consumer training note
  4. OpenAI Help Centre, temporary chat
  5. Gemini Apps Privacy Hub

Checked September 2026. Prices and features change, so confirm on the official site before you buy.