SafeWebUtilities

How to remove duplicate rows from a CSV file

To remove duplicates from a CSV, decide which columns define a duplicate, then keep one row from each group of matches. You can do it in your browser without opening Excel, and your file is never uploaded.

Steps

  1. Open the CSV duplicate remover and choose your file.
  2. Tick the columns that must match. Ticking more columns makes the match stricter.
  3. Choose whether to keep the first or the last match. Keep the last if newer rows come later.
  4. Check the Removed rows preview to confirm it caught the right rows.
  5. Download the cleaned CSV, and the removed rows if you want a record.

A worked example

Say you match on the email column only, ignoring case and extra spaces:

1. Ann, ann@example.comkept
2. Bob, bob@example.comkept
3. Ann Lee, ANN@example.com removed

Row 3 is removed because its email matches row 1. If you also tick the name column, row 3 stays, because the names differ.

Tips for files saved from Excel

Remove duplicates from a CSV

Related