How to anonymize a CSV or Excel file before you share it

You need to send a dataset to a vendor, a consultant or an AI tool, and it is full of personal data. Deleting a few columns by hand misses the email address inside a notes field and the birth date that, with a postcode, identifies someone anyway. Here is a safer way that never uploads the original.

Let it find the personal data first

Open the file and go to Anonymize & share. NoEgress checks every column, by name and by content, for email addresses, phone numbers, card numbers, bank accounts (IBAN), IP addresses, government IDs, person names, dates of birth, postcodes, street addresses, pay and free-text fields.

Each flagged column gets a suggested action, and the checks list shows what still needs a decision before the file is safe to share.

Pick an action per column

Different columns need different treatment. These are the options, and when each one fits.

ActionWhat it doesUse it for
Remove columnLeaves the column out entirely.Anything the recipient doesn’t need.
Replace with pseudonymSwaps each value for a salted hash such as email_3f9a…; the same input gets the same pseudonym.IDs and emails you still need to join or count on.
MaskKeeps the first few characters and hides the rest with ***.Values someone needs to recognise, not read.
GeneralizeTurns exact values into ranges: a birth date into a year, a salary into a band.Dates of birth, ages, postcodes, pay.
Shift datesMoves every date by the same hidden number of days.Timelines where gaps matter but real dates don’t.
Redact contact detailsReplaces emails and long numbers inside free text with [email] and [number].Notes and comment fields.

Watch the combinations, not just the obvious columns

Birth date, postcode and gender are each harmless alone. Together they identify most people. NoEgress marks these quasi-identifiers and warns when they are all kept exact, so generalize at least one of them.

Check the result, then export

The preview shows original and anonymized values side by side from the same rows. When it looks right, download a CSV or Excel file, or save the anonymized copy as a new dataset to keep working on it.

Pseudonyms use a secret salt that exists only while the page is open, so they can’t be reversed by hashing a list of known emails.

Frequently asked

Is the original file uploaded to anonymize it?

No. Detection and anonymization run in DuckDB inside your browser tab. The original never leaves your computer; only the file you choose to download exists outside it.

Is this GDPR-compliant anonymization?

It gives you the standard techniques (removal, pseudonymization, masking, generalization and date shifting) with checks for common identifiers. Pseudonymized data still counts as personal data under GDPR, so whether a given export is anonymous enough is a judgement for you or your DPO.

Can I anonymize a file and then use ChatGPT on it?

Yes, that is a common reason to do it. Or skip the upload altogether and use the local AI model built into NoEgress on the original file.