PII Scrambler · How-to
How to remove SSNs and SINs from an Excel file
A spreadsheet with Social Security or Social Insurance Numbers in it shouldn't leave your computer. Here's how to take them out of every sheet without touching anything else in the workbook.
Steps
- Open the PII Scrambler and drop in the workbook (.xlsx or .xlsm). Every sheet is read and shown as a tab.
- Check the National IDs column. Columns headed SSN, SIN, Social Security Number, National ID and similar are marked red. The tool checks the values too: a column called "SIN" holding codes rather than ID numbers is left alone and marked Kept, and a column of 9-digit numbers that pass the SIN checksum or follow SSN rules is caught even if its heading says nothing.
- Look for Check · could be SSN/SIN. A column with a vague heading such as "ID" isn't removed automatically. Click its heading and choose National ID or Keep as is.
- Choose empty or [REDACTED] under Scramble settings, then download.
Numbers hidden in notes
With National IDs in any cell on, SSNs and SINs written inside other text, such as "SIN 046 454 286 on file" in a comments column, are removed too, along with UK National Insurance numbers like AB 12 34 56 C.
What stays the same
Only the affected cells change. Formulas, formatting, other sheets and column widths are left as they were, so the workbook still opens and calculates the same way. Amount columns with "Social Security" in their name, such as tax withholding totals, are kept: the tool checks for money words before treating a column as an ID.
Other national IDs
The same steps work for US ITINs, UK National Insurance numbers, Australian TFNs, Irish PPSNs, Dutch BSNs, French NIRs, German tax IDs, Spanish DNI and NIE numbers and more. See the full list.
Before you share
The tool finds personal data by column names and patterns, so unusual formats can slip through. Open the cleaned file and check it, especially free-text columns such as notes and comments. A cleaned file is not certified as anonymous: details left in it, such as a job title in a small team, can still point to a person. You decide what to share.