How to anonymize an Excel file before you share it

A practical guide for spreadsheets with personal data

Sending a spreadsheet to a developer, a supplier or an analyst, or pasting it into ChatGPT or another AI assistant, sends every row in it. If those rows describe real people, remove or replace the personal data first. Here is how to do it without uploading the file anywhere.

1. Find the columns that identify people

Start with the obvious ones, which identify a person on their own:

Then look for columns that identify people in combination: a date of birth, a postal code, a rare job title. Each is harmless alone, but together they can point to one person. Free-text columns such as notes or comments often hide names and phone numbers too.

2. Choose what happens to each column

Not every column needs the same treatment. Pick per column:

3a. Anonymize it in your browser

  1. Open the Scrubsheet browser tool and drop in your .xlsx, .xls, .ods or .csv file. It is read by the page itself: nothing is uploaded, and the page cannot send data anywhere.
  2. Check the suggested type and method for each column. Detection looks at column names and sample values, and national ID numbers are only recognised when their checksum is valid. For a notes column, you can anonymize just the personal data inside the text.
  3. Compare the before and after preview.
  4. Download the anonymized copy as .xlsx or .csv.

It is free, with no row limit and no sign-up.

3b. Or anonymize it inside Excel

If the data should not leave the workbook at all, or you need formulas and formatting kept, use the Scrubsheet add-in for Excel. Open it from Home › Anonymize, pick the table or range, check the columns, and it writes an anonymized copy of the sheet next to the original.

4. Check the result before you send it

Replacing direct identifiers does not always make data anonymous in the legal sense of the GDPR; that depends on what remains and who receives it. See the FAQ for more.