How to Anonymise Client Data Before Using AI

The short answer

To anonymise client data before using AI, you remove enough detail that nobody could work out who the client is, including a colleague who knows your client list and has Google and a chatbot to hand. In practice, that means:

  • Replace the obvious identifiers with consistent labels: names, PAN, GSTIN, Aadhaar, SSN, EIN, National Insurance number, Tax File Number, account numbers, emails, phone numbers and addresses.
  • Blur the less obvious ones: exact dates, unusual amounts, the town, a rare line of business, a well-known customer. These identify clients more often than people expect.
  • Clean out what you can’t see: file names, author details, comments, hidden sheets, letterheads, signatures and the narration lines on bank statements.
  • Keep the key outside the AI tool. A file where “Client A” can be matched back to a real name is pseudonymised, not anonymised, and in your hands it’s still personal data. Keep such files to a business plan.
  • Read it yourself before you paste. A tool can help, but the final check has to be a person’s.

Only a file that passes all of that belongs on a personal plan such as ChatGPT Plus or Claude Pro. The full routine, with a worked example, is below.

Say you want ChatGPT to help you draft a reply to a client’s GST notice. You’re careful, so you open the notice, change the client’s name to “Client A” everywhere, and paste it in. Job done? Look at the top of the notice again. The GSTIN is still there, and characters 3 to 12 of every GSTIN are the taxpayer’s PAN. You’ve hidden the name and left the client’s tax identity in plain sight.

That’s why I think learning how to anonymise client data for AI properly is worth an hour of your time. In my guide on whether it’s safe to upload client data to ChatGPT or Claude, I said that most day-to-day work becomes safe for AI once the names are out, and that anonymising is the habit most worth building. This guide goes much further than the short section I gave it there. I’ll take you through what “anonymised” actually means under the rules in India, the UK, Australia and the US, the three layers of detail that give clients away, a seven-step routine you can teach your team, and the cases where no amount of editing is enough. It’s part of our AI safety and rules guides for finance professionals.

Anonymised or just disguised?

Before you change a single name, it helps to know what you’re aiming for, because there are two different results here and people mix them up all the time.

When you replace names with labels and keep a list showing that Client A is Mehta Traders, you’ve pseudonymised the data. Anyone holding that list can reverse it. When you remove or blur enough that the data can’t reasonably be linked back to a person, even by you, you’ve anonymised it. The UK regulator, the Information Commissioner’s Office (ICO), puts the difference bluntly: “Pseudonymised data is personal data in the hands of someone who holds the additional information.” Since you keep the key, a pseudonymised file is still personal data while it sits with you.

So how do you tell whether something is truly anonymous? The ICO’s answer is the “motivated intruder” test. Picture someone who wants to identify a person from the data, who “is reasonably competent” and has access to the internet, libraries and public documents. What caught my eye is that the ICO’s current guidance lists “AI tools, such as generative AI chatbot tools” among the sources such an intruder may use. So the kind of tool you’re about to paste into is now part of the test.

Your own country’s rules land in much the same place, even though they’re worded differently:

Country What the law protects What it means for your file
IndiaThe DPDP Act, 2023 covers “any data about an individual who is identifiable by or in relation to such data”. The Act doesn’t define anonymisation.If a person could be identified from what you paste, or from it combined with other data, it’s still personal data.
United KingdomUK GDPR: data is personal if there are means “reasonably likely” to be used to identify someone. Pseudonymised data stays personal for whoever holds the key.Apply the motivated intruder test, and remember it now includes AI chatbots.
AustraliaPrivacy Act: information about an “identifiable individual, or an individual who is reasonably identifiable”. The OAIC says removing names and addresses “alone may not result in de-identification”.You have to deal with the indirect details too, until there’s no reasonable likelihood of re-identification.
United StatesSection 7216 protects “tax return information”, and the IRS includes “statistical compilations of tax return information” in that definition.The IRS hasn’t said that anonymised return data falls outside section 7216, so for return work, anonymise thoroughly and consider getting consent as well.

Checked against the Act, the ICO, the OAIC and the IRS on 23 October 2026. In Europe, the Court of Justice ruled in September 2025 (EDPS v SRB) that pseudonymised data may not be personal data for a recipient who has no reasonable means of re-identifying anyone. That’s a narrow point for lawyers, and I wouldn’t build a practice habit on it.

Wherever you practise, then, swapping the name only starts the job. To see why, it helps to look at where identifying details actually hide in a finance file.

The three layers of identifying detail in a client file

I find it easiest to think of a client file as having three layers. You’ll spot the first layer at a glance, the second only if you’re looking for it, and the third not at all unless you go digging.

Layer 1: direct identifiers

These point straight at a person or business. Names are the obvious one, but finance files carry far more than names, and most of them are numbers:

  • India: PAN, GSTIN (which contains the PAN), Aadhaar, TAN, CIN, DIN, Udyam number, bank account number with IFSC, and UPI IDs.
  • United States: SSN, EIN, ITIN, bank routing and account numbers.
  • United Kingdom: National Insurance number, Unique Taxpayer Reference (UTR), VAT number, Companies House number, sort code and account number.
  • Australia: Tax File Number, ABN, ACN, BSB and account number.
  • Everywhere: email addresses, phone numbers, postal addresses, property and vehicle registration numbers, policy and folio numbers, and employee IDs.

Layer 2: indirect identifiers

These don’t name anyone on their own, but put two or three together and someone who knows the market can often fill in the blank. Think of an exact date of incorporation, a property sold for a very particular figure, the town, the number of employees, a distinctive job title, or a famous customer in the debtors list. “A boutique hotel in a small hill town with 14 rooms” contains no names at all, and yet in a small town, people will know exactly which hotel you mean.

Layer 3: hidden data

This is the layer most people miss, because you don’t see it when you open the file. It includes the file name itself (“Mehta_ITR_2025.pdf”), the author and company fields in the document properties, comments and tracked changes, hidden rows, columns and sheets, letterheads in the header, signatures and stamps on scanned pages, the email signature at the bottom of a thread you’ve copied, and the narration column of a bank statement. Watch the narration column in particular, because a single UPI or NEFT narration line can carry a person’s name, their UPI ID and sometimes their phone number.

Once you know where the details hide, you can remove them in a fixed order every time. This is the routine I’d follow.

How to anonymise client data for AI: a seven-step routine

You’ll get faster at this with practice. For a typical document, it’s a few minutes of work, and most of that time goes on step 1.

  1. Decide what the AI actually needs. Before you touch the file, ask yourself which part of it the task depends on. If you want a month-by-month summary of receipts, the AI needs dates and amounts, not the narration column. Very often, the safest move is to paste a small summary table you’ve built yourself rather than the whole document. Data you never send doesn’t need anonymising.
  2. Work on a copy. Save a copy outside the client’s folder and give it a neutral file name. Never edit the original, because some of the tools below remove content that can’t be restored.
  3. Replace direct identifiers with consistent labels. Use Find and Replace in Excel or Word to swap each name and number for a label such as Client A, Director 1, Supplier 3 or Account 1, and use the same label every time the same detail appears. Consistency matters, because it lets the AI follow who paid whom. Keep the list of labels in a separate file in your firm’s own system, and never paste it into the chat.
  4. Blur the indirect identifiers. Generalise anything distinctive: “Pune” becomes “a large Indian city”, 14 March becomes “mid-March”, ₹3,47,82,915 becomes “about ₹3.5 crore”, and “the only boutique hotel in town” becomes “a small hospitality business”. Keep exact figures only where the task genuinely needs them, such as a tax computation. Exact numbers with no names attached are usually fine; it’s the rare, memorable ones that give a client away.
  5. Clean out the hidden data. In Word or Excel on Windows, go to File, then Info, then Check for Issues, then Inspect Document. Microsoft’s Document Inspector finds comments, document properties and personal information, headers and footers, and in Excel, hidden rows, columns and worksheets. Microsoft warns that it can’t find text hidden in other ways, such as white text on a white background, which is another reason to work on a copy and read the file yourself. For PDFs, use a proper redaction tool such as the one in Acrobat Pro, which Adobe says can “permanently remove visible text and graphics”. A black box drawn on top of the text isn’t redaction, because the text can still sit underneath.
  6. Run the colleague test. Read the cleaned copy as if you were a colleague who knows your client list, with Google and a chatbot open. Could you work out who this is? If the answer is “probably”, go back to step 4.
  7. Paste, then put the names back outside the AI tool. When the answer comes back, swap the labels for the real details in your own document, not by pasting the key into the chat. Then check the output for any label you’ve missed and for anything the AI has made up.
CA check Search the copy for every GSTIN as well as the PAN. Characters 3 to 12 of a GSTIN are the PAN, so masking the PAN while leaving the GSTIN on an invoice or a notice hands the client’s tax identity straight over.

Steps on a page can feel abstract, so let’s run them on the kind of file you probably handle every week.

A worked example: a bank statement

Imagine a client’s current account statement that you’d like summarised by month and by type of payment. The example below is illustrative, not taken from a real client. Here’s what three lines might look like before and after the routine:

Before After
Statement header: Mehta Traders, A/c 50100234567812, IFSC ABCD0012345, Navrangpura branchHeader removed. File named “Statement A, FY 2025-26”
04-05-2025, UPI/DR/512345678901/RAMESH KUMAR/ramesh.k@okbank, 18,500.00May 2025, UPI payment to Payee 3, 18,500.00
12-05-2025, NEFT CR/SHARMA ENTERPRISES PVT LTD/INV 2231, 2,36,000.00May 2025, NEFT receipt from Customer 1, 2,36,000.00

Notice what stayed and what went. The amounts stayed, because the summary depends on them, and a payment of ₹18,500 with no name attached tells nobody anything. The exact dates became months, because the task is a monthly summary. The narrations went entirely, and with them a payee’s name, UPI ID and an invoice number. The header went too, and the file name no longer gives the client away.

Doing this by hand for a year of transactions sounds tedious, and it would be. In practice, you’d delete the header rows, replace the narration column with a payee label using Find and Replace (or simply a “Payee” column you fill in), and change the date column’s format to month and year. That’s a few minutes in Excel. Which raises the obvious question: can’t the AI do this part for you?

Can AI do the anonymising for you?

It can help, but think about what you’d be doing. To ask ChatGPT or Claude to strip the names out of a file, you have to send it the file with the names still in. That upload is the very disclosure you were trying to avoid. So I’d use AI to anonymise only on a business plan with a data processing agreement, where you could have sent the original anyway. On a personal plan, do the work yourself in Excel or Word first. I’ve shared the prompt I’d use on a business plan in my client data guide.

The same question applies to redaction add-ons and browser extensions that promise to clean your text before it reaches the chatbot. Before you install one, find out where the cleaning happens. If it runs on your own computer, it can be a useful extra layer. If your text goes to the add-on’s own servers first, you’ve simply added another outside company to the chain, so read its terms as carefully as you’d read OpenAI’s or Anthropic’s.

Where AI is genuinely useful, on any plan, is as a second pair of eyes after you’ve done the work. Once your copy is clean, you can paste it in with a request like this one before you ask your real question:

Leak check prompt, for text you’ve already anonymised

Before we start, review the text below for anything that could still identify a person or a business. Look for names, ID numbers, account numbers, email addresses, phone numbers, addresses, UPI IDs and websites, and also for indirect clues such as a specific town, an unusual job title, a very precise date or a distinctive amount. List each item you find and say why it could identify someone. Don’t summarise or analyse the text yet.

Treat its answer as a hint. A chatbot can miss things just as a tired person can, so if it finds nothing, that doesn’t prove there’s nothing there. Some files, though, have a bigger problem than a missed detail.

When anonymising isn’t enough

Some files can’t be made anonymous without losing the very thing you need the AI for. In these cases, I’d stop and either use a business plan with your client’s written consent (the set-up is in my guide on uploading client data) or keep the work off AI altogether:

  • The identity is the point. A notice addressed to a named taxpayer, a director’s personal tax position or a dispute with a named party loses its meaning once you strip out who’s involved.
  • The client is one of a kind. If your client is the only business of its type in its town, or a public figure, even a well-blurred file may still point to them.
  • The file contains sensitive personal data. Medical bills in an insurance claim, a disability-related deduction or details of a family dispute carry more risk if they’re ever linked back, so give them more care.
  • Someone has said no. If your client has asked you to keep their information out of AI tools, or a regulator or court has restricted the material, anonymising doesn’t override that.
  • It’s audio, video or handwriting. Voices, faces and handwriting are hard to anonymise with everyday tools, so I’d keep them out of personal plans entirely.

For everything else, which in most practices is the bulk of the routine work, the seven steps above will get you there. And if you want your whole team anonymising the same way, put it in writing. My simple AI policy template for small accounting and advisory firms makes fully anonymised material the default and points back to this routine.

Where I stand

I’d make anonymising the default for every AI task, even on a business plan. A business plan gives you a contract with the provider, but it doesn’t change the principle that you share only what the job needs. And I’d be honest about the difference between a disguised file and an anonymous one. Changing the name to “Client A” is where most people stop, and I don’t think it’s enough for a finance file, where the PAN, the GSTIN or one memorable number can identify a client just as surely. If a file can’t pass the colleague test, it doesn’t belong on a personal plan, however convenient that would be.

CA Rohit Gopalani

Frequently asked questions

Is replacing the client’s name with “Client A” enough?

Usually not. Finance files carry tax IDs, account numbers, addresses and narrations that identify a client without the name, and indirect details such as the town or an unusual amount can do the same. Replace the name, then work through the other layers.

Do I still need to anonymise on ChatGPT Business or Claude Team?

Not to the same strict standard, because a business plan comes with a data processing agreement. I’d still remove anything the task doesn’t need. Data protection laws such as the UK GDPR expect you to keep personal data to the minimum necessary, and less data in the chat means less to worry about later.

Is pseudonymised data safe to use on a personal AI plan?

I wouldn’t treat it that way. While you hold the key, pseudonymised data is still personal data under the UK GDPR, and similar logic applies under India’s DPDP Act and Australia’s Privacy Act. Use a personal plan only once the indirect and hidden details are dealt with too, and the file passes the colleague test.

How do I anonymise a scanned PDF or a photo?

Use a proper redaction tool, such as the one in Acrobat Pro, so the text and images are actually removed, then check the saved copy. Shapes drawn over text, or a crop of a photo, can leave the original details in the file. If you can, type the figures you need into a fresh sheet instead. For receipts and invoices, my guide on AI receipt and invoice scanning covers the other checks worth making.

Does anonymised data still need my client’s consent?

If the client genuinely can’t be identified, you generally aren’t disclosing their information, so most confidentiality rules don’t come into play. US tax return work is the exception to be careful with, because section 7216 doesn’t spell out how it treats anonymised data. My client data guide covers the rules country by country.

This guide is general information, not legal or professional advice. Data protection rules, professional codes and tool features change, so check your professional body’s current rules, your client agreements and the relevant regulator’s guidance before using AI on client work. See our Disclaimer and our Editorial policy.

Similar Posts