How to Anonymize Recruiting Data Before Uploading It to AI
Find-and-replace catches emails and phones, not 'the only VP in Haifa'. Here is the 3-minute pass, plus the AI check that finds what is left.
- Less legal risk
- Saves time
Oct 13, 2026 · 4 min read

We hid 13 identifying details in eight made-up candidate rows, then ran a standard find-and-replace clean-up. It fully removed none of the 13, and it wiped out one harmless date range by mistake.
The short answer: delete every column the analysis does not need, swap names for codes like C01, run pattern replacements over the free-text notes, and then ask an AI tool to list what is still identifying before the sheet goes anywhere. Patterns catch what looks like an identifier, not what merely describes a person, and that was every one of our 13.
Can I just ask the AI to redact it for me?
No: the paste is the exposure, because the text reaches the tool before anything is removed. A 2025 Learn with Fern post by Sunita Parbhu says the same: scrub first, then upload. Work on a copy, on your own computer.
What takes three minutes?
- Copy the sheet; never edit the original.
- Delete the name, email, phone, ID and profile-link columns. A GoTranscript checklist says delete, don't blank cells, and check hidden tabs and pivot tables, which can still hold raw values.
- Add a code column (C01, C02) and keep the name-to-code list in a different file.
- Run patterns over the notes column. We ran these in a script, not inside Sheets, so try them on three rows first:
Email: [A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,} -> [email]
Phone: (\+972|0)[\d\s\-()]{8,}\d -> [phone]
Link: https?://\S+|www\.\S+ -> [link]
ID: \b\d{9}\b -> [id]
Names: (?i)\b(first names and surnames joined by |)\b -> [name]
In Sheets, wrap each one as =REGEXREPLACE(H2, "pattern", "[label]"). The phone and ID patterns suit Israeli formats, so adapt them. Our first phone pattern was looser and turned "2019-2023" into [phone]; the anchored one above leaves it alone (we checked it on sample strings). Whatever you use, search the copy for [phone] and [id] and look at each hit.
What did the patterns miss?
| Left in the notes | Why no pattern caught it |
|---|---|
| "Everyone calls him Dani" | the list had "Daniel" |
| "[name] dot [name] at examplemail dot com" | the names went, the address stayed; it is not shaped like an email |
| "Husband of our current employee Rina [name]" | Rina was not on our list |
| "Only VP Operations at Orbit Freight's Haifa depot" | no names, but only one person fits |
Who finds the leftovers?
Use an assistant as a second pair of eyes, on the cleaned copy only. The check is itself an upload, so use the tool your company already approves for this data. The exact prompt we ran:
I am a recruiter. I removed names, emails, phone numbers, ID numbers and links from a candidate sheet with find-and-replace before uploading it to an AI tool. Below is the sheet after cleaning. Rules: Do not guess. Only point at text that is really in the sheet. For each candidate row, list anything that could still identify the person, a relative or a colleague, or that is sensitive personal information (health, family, age). Quote the exact words. If a row looks clean, say "nothing found". Do not rewrite the sheet.
[paste the cleaned sheet]
Source: our test: 8 made-up rows, 13 planted leaks, one run per tool, checked by hand
Show the data
| found | Total | |
|---|---|---|
| Claude | 13 | 13 |
| Gemini | 12 | 13 |
One run each, Claude Opus found all 13 and added a salary expectation and the employer and city columns, which narrow a person down. Gemini 3.8 Flash missed the spelled-out email. The sheet they saw had the looser phone pattern's damage ("2019-2023" was already [phone]) and neither mentioned it; we never asked them to look for damage.
What do I do with the list?
- Replace each quoted item by hand with a label, such as [health], [family] or [name].
- For a one-person role like "Only VP Operations at Orbit Freight's Haifa depot", delete the employer or city.
- Run the check prompt again on the new copy.
What can still go wrong?
- Codes with a key file are pseudonymized, not anonymous. Privacy law may still count it as personal data. Your lawyer can say how, where you operate; this is not legal advice.
- A model can miss a leak, as Gemini did. Read the notes column once yourself.
Next step: read whether you can paste candidate resumes into ChatGPT without consent and the pre-boarding PII checklist.
This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.


