Structured Data

CSV Deduplicator

Paste or upload CSV and remove duplicate rows. Compare every column or only the key columns you choose, keep the first or last occurrence, and copy or download the clean result. Your data never leaves the page.

Runs in your browser v1.0.0

Options

live
Keep which occurrence
Matching
Compare only specific key columns

Leave every column checked to treat a row as a duplicate only when all columns match. Uncheck columns to ignore them when comparing.

Input CSV

original

Quoted fields, embedded commas, and line breaks inside quotes are handled.

Deduplicated CSV

result

Read-only result. Copy or download it with the buttons above.

How it works

The input is parsed locally with quote-aware CSV parsing, so commas and line breaks inside quoted fields are preserved. With a header row detected, the header is kept once and each following row is compared against the others. All columns are compared unless you choose key columns, in which case rows are duplicates when the selected columns match. The first (or last) occurrence of each unique row is kept in order, and the output is written back as standards-compliant CSV. Nothing is sent to a server.