How to Clean Spreadsheet Data and Remove Duplicates (CSV & Excel)
Contact lists collected from forms, inventory sheets typed by three different people, exports from old software — real data is messy. Duplicates throw off counts, stray spaces break lookups, and “RAM BAHADUR”, “ram bahadur” and “Ram Bahadur ” look like three different people. The free Spreadsheet Data Cleaner fixes these in a few clicks and shows you every change before you download.
Clean a file in three steps
- Open your data. Drop a CSV or Excel file onto Data Cleaner, or send merged data from the Excel & CSV Merger.
- Tick the fixes. Each rule shows how many cells or rows it changes, and you choose which columns it applies to.
- Review and download. Changed cells are highlighted, removed rows are struck through. Filter to Changed rows or Removed rows to check, then download.
The fixes available
- Remove invisible characters and trim spaces — the hidden cause of most failed lookups and “duplicate” entries that don’t match.
- Change capitalisation — Title Case for names, lower case for emails, UPPER for codes.
- Tidy email addresses — lower case, no spaces, and addresses that don’t look valid are counted so you can check them.
- Tidy phone numbers — spaces, dashes, brackets and dots removed, a leading + kept, and an optional country code such as
+977added to numbers without one. - Standardise dates — day/month/year, month/day/year and year-month-day (with /, - or .) plus Excel serial numbers, converted to one format. Pick the order your file uses; values that can’t be read are left unchanged and counted.
- Find and replace, fill empty cells, split a column (e.g. “Full name” into first and last) and combine columns.
- Remove empty rows, empty columns and duplicate rows.
Removing duplicates properly
By default, two rows are duplicates when every column matches after trimming spaces. Usually you want something smarter: pick key columns such as Email or Phone, and rows with the same key count as duplicates even if other columns differ (for example, the same person registered twice with a different spelling of their name). The first row is kept. Tidy the phone and email columns before removing duplicates, so “98-4123 4567” and “9841234567” match.
Know your columns first
The column summary shows what each column contains and how many values don’t fit — numbers in a name column, blanks in a required field, text in a date column. It’s a quick way to see where the mess is before you start ticking rules.
Frequently asked questions
Will it change my IDs or leading zeros?
No. Values are treated as text, so 00123 stays 00123. Only the rules you tick change anything, and only in the columns you choose.
Is my original file changed?
No. You download a new, cleaned copy. Untick a rule to undo it before downloading.
Is my data uploaded?
No. The file is processed in your browser and never leaves your device. To look through the result, press Open in viewer — see how to open large CSV and Excel files.