Remove Duplicate Rows from a CSV
About this tool
About Remove Duplicate Rows from CSV
Duplicate rows creep in when exports are merged, forms are submitted twice or a sync runs again. Open your CSV and the duplicates are found and highlighted straight away, with a count of how many rows and groups are affected. Compare whole rows, or only the columns that identify a record, such as email or order number, so two rows with the same email but a different timestamp still count as one person. Options let you ignore upper and lower case and surrounding spaces, so Ada@Example.com and ada@example.com match, and choose whether to keep the first copy or the most recent one further down the file. Click Show only duplicates to review them before removing anything. One click removes them, Undo puts them back, and Export downloads the clean file as CSV, TSV or JSON. The file never leaves your browser, so customer lists stay private.
Built and maintained by Abhi JainUpdated
How to Remove Duplicate Rows from a CSV
- 1
Open the CSV
Drop the file on the page or paste the data. Remove duplicates is already open.
- 2
Choose what counts as a duplicate
Leave Whole row, or tick only the key columns such as email. Set Ignore upper/lower case, Ignore surrounding spaces and which copy to keep.
- 3
Review and remove
Duplicates are highlighted in red. Click Show only duplicates to check them, then click Remove duplicates.
- 4
Download
Open Export and save the deduplicated file.
Remove Duplicate Rows from CSV: questions and answers
How do I remove duplicates based on one column?
In Compare columns, untick everything except that column, for example email. Rows with the same value in it count as duplicates even if other columns differ.
Which copy is kept?
By default the first one in the file. Choose Last copy to keep the one furthest down, which is usually the most recent in exports sorted by date.
Are 'ABC' and 'abc ' treated as the same?
Yes, with Ignore upper/lower case and Ignore surrounding spaces turned on (the default). Turn them off for exact matching.
Can I see the duplicates before deleting them?
Yes. They are highlighted in the table, and Show only duplicates narrows the table to just those rows.
More CSV Cleaner presets
Related tools
- CSV Viewer & EditorOpen, edit, sort, filter and search big CSV files like a spreadsheet, then export CSV, TSV or JSON.
- CSV AnalyzerProfile every column of a CSV: types, missing values, unique counts, min, max, mean, median, histograms and outliers.
- CSV ValidatorFind ragged rows, quoting errors, duplicate headers and type problems in a CSV, with line numbers.
- CSV FormatterClean up a CSV: consistent quoting, line endings and delimiter, trimmed cells, no empty rows.
- CSV to JSONConvert CSV to JSON objects, arrays or keyed maps with real numbers, booleans and nesting.