By · Last updated 2026-05-29

Back to BlogGDPR & Compliance

CSV Free-Text PII: Beyond Column Deletion

Survey CSVs contain PII not just in structured columns but in free-text responses. Standard column deletion misses the PII that violates GDPR's.

May 29, 20267 minute read
research dataCSV anonymizationGDPR Article 89survey datadata sharing

The Gap That Column Deletion Misses

Updated for 2026

Research datasets move between universities as CSV files. When teams prep a CSV for sharing, the work is column-based. Find the personal info. Delete or replace it.

That method works for fixed fields. A column named "email" holds email addresses — delete it. A column named "phone" holds phone numbers — delete it. A column named "participant_name" holds names — swap it for a code.

But free-text response columns are a blind spot. Removing labeled columns does not touch them.

A survey with 5,000 rows might have five structured PII columns and fifteen open-text response columns. The structured ones hold names, emails, phone numbers, IDs, and birth years. The open-text ones hold comments, notes, and suggestions.

The structured columns get cleaned. The open-text columns stay raw. But people write things like these three examples.

First: "My doctor at Boston Medical Center, Dr. Maria Santos, said the treatment was new." Second: "I've been dealing with this since my 2019 accident." Third: "You can reach my caregiver at margaret.wells@gmail.com for details."

Each entry names a real person. Some include health facts or contact info. None of this appears in a column header. None of it is caught by column deletion.

Why This Fails the GDPR Standard

GDPR Recital 26 defines anonymous records as records that cannot be linked to any person. The bar is high. Records are only truly anonymous when re-identification is not reasonably possible.

A CSV with clean fixed columns but named people in open-text does not pass that test. Those names are identifiable. The dataset is still personal. GDPR Article 89 rules still apply. So these three risks emerge.

Article 89 research exemption: Article 89 lets researchers process personal info for science with fewer duties. But only where "appropriate safeguards" exist. Sharing a file with open-text PII while claiming Article 89 cover is a legal failure.

Ethics approval: Most IRBs and ethics boards require full anonymization for shared datasets. Partial work — fixed columns cleaned, open-text left raw — typically fails. The board can reject the submission.

Data sharing agreements: DSAs between institutions set the required anonymization level. Partial work that fails GDPR Recital 26 may breach the DSA. See our Legal Compliance overview for how this fits a wider program.

Why Open-Text Is So Hard to Clean

Free-text survey answers are among the hardest PII targets. Here is why.

Names in context: "Dr. Maria Santos at Boston Medical Center" requires named entity recognition (NER) to flag a person and an org. Keyword lists cannot find this.

Names in stories: "John Henderson's car hit mine" puts a real name inside a story. It is a person named in passing. Only NER catches it.

Non-standard formats: Contact info may read "reach me at margaret dot wells at gmail." Simple regex tools miss these.

Research-specific terms: Clinical surveys often contain hospital IDs, site codes, and place names. These can identify a person even when they look generic.

So pattern matching alone is not enough. NLP-based tools are needed for real survey anonymization. See Security & Compliance for technical options.

A Real Example From Three Universities

A research team at three European universities ran a patient experience survey. The dataset had 5,000 respondents, 3 fixed PII columns, and 8 open-text columns. The plan was to share the file across sites under a DSA and GDPR Article 89.

With column deletion only:

  • Fixed PII columns: removed
  • Open-text columns: left raw
  • Claim: "PII columns deleted"
  • PII left behind: 47 named people, 23 email addresses in comments, 18 place names that could identify respondents

With NLP-based detection:

  • Fixed PII columns: replaced with consistent tokens
  • Open-text columns: 47 names replaced, 23 emails masked, 18 place names made generic ("Boston Medical Center" → "[Healthcare Institution]")
  • Result: a file that passes GDPR Recital 26
  • Ethics board approved the method
  • DPO confirmed DSA compliance

The gap is real. The first output looks clean. The second output is clean.

A Five-Step Pre-Sharing Protocol

Use these steps before sharing any survey or interview file.

Step 1: Label each column Mark every column as fixed PII, fixed non-PII, or open-text. Write it down.

Step 2: Handle fixed PII Delete entries not needed for analysis. Replace entries needed for linking records. Record the codes used.

Step 3: Scan open-text columns Run NLP detection on all open-text columns. Review each result. Confirm which ones are real PII.

Step 4: Apply replacements Replace confirmed PII in the open-text output. Use clear labels like [PERSON], [EMAIL], or [LOCATION].

Step 5: Verify and document Sample 50–100 rows from the output. Check the open-text entries by hand. Write a short summary: tools used, entity types found, columns processed. Share it with the file for ethics review.

This turns "we deleted the name column" into a clear, documented process. It meets GDPR Article 89 and the anonymization standards most ethics boards require. Visit our docs hub for related guides.

Sources

Ready to protect your data?

Start anonymizing PII with 285+ entity types across 48 languages.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.