Skip to content
toolgrid

No tool found. Try another word.

CSV Deduplicator

Remove duplicate rows from a CSV file. Compare whole rows or only chosen columns, such as the email address, and keep the first or last occurrence.

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the CSV Deduplicator

  1. 1 Paste the CSV or open the file.
  2. 2 Choose the columns to compare (for example email), or leave it empty to compare whole rows.
  3. 3 Choose whether to keep the first or last occurrence, and copy or download the result.

About the CSV Deduplicator

Mailing lists, exports and merged files often contain the same record twice. The deduplicator removes rows that are equal, either completely or in the columns you choose. Comparing on one column, such as an email address or customer number, removes records that differ elsewhere, for example in a name that was typed differently.

With "ignore case" [email protected] and [email protected] count as the same, and with "ignore spaces" values with extra spaces around them do too. The rows themselves are not changed: the kept row is written exactly as it was.

Keeping the last occurrence is useful when newer records are further down in the file, as in an export sorted by date. The order of the remaining rows stays as in the original file.

Frequently asked questions

How do I remove duplicates based on one column?

Type the column name or number in "Compare columns", or click the column name. Only that column is compared; the whole row is removed when its value occurs earlier.

Is the header row kept?

Yes, when "First row contains column names" is on, the header row is always kept and never compared.

Which duplicate is kept?

By default the first occurrence. Choose "last" to keep the most recent one when newer rows are at the bottom.

Can I compare several columns?

Yes, separate them with commas, for example "first name, last name". Rows are duplicates when all those columns match.