Free · No sign-up

CSV deduplicator

Remove duplicate rows, keep their first occurrence and export CSV.

Local processing · Inputs are not uploaded

UTF-8 comma-separated CSV up to 1 MiB. Output uses quoted fields and CRLF, with spreadsheet formula protection.

Deduplication options

First or last means input order, not date. Strings are compared exactly, preserving spaces and case; 001 and 1 differ.

By default, each entirely empty key is kept; partially empty keys compare normally. Blank lines are skipped as before.

Enter content, then choose an action.

How to use

  1. Paste comma-separated CSV or select a CSV file.
  2. By default, compare whole rows and keep the first occurrence, including the first row. Optionally choose a header, key columns and the last occurrence.
  3. Review kept and removed counts and download both CSV files.

Example

name,city
小林,北京
小周,上海
小林,北京

Frequently asked questions

Will row order change?

Kept and removed records each preserve input order; last occurrence means position, not latest date.

Are commas and line breaks in fields supported?

Quoted CSV fields are supported. Incomplete quotes or inconsistent row widths cause an error.

How are duplicates compared?

Compare exact strings across whole rows or selected columns, preserving spaces and case; 001 and 1 differ. Duplicate headers are distinguished by column position.

Related tools