CSV Deduplicator
Remove repeated CSV records by full row or one selected column, retaining the first match.
Loading tool…
How to use CSV Deduplicator
Clean repeated records while keeping the earliest row for each key. Comparison is exact and case-sensitive, with no hidden trimming or numeric conversion of cell values.
- Paste CSV and choose whole-row or selected-column matching.
- Select Run tool to retain the first row for each duplicate identity.
- Review the result, then copy it or download the generated file.
Good to know
- Up to 200,000 characters, 5,001 records, 200 columns, and 50,000 characters per cell. Quotes must follow CSV rules; output CSV uses formula-safe apostrophe prefixes where needed.
- Case, spaces, and leading zeros affect identity. Selected-column mode deliberately discards later rows even when their other cells differ.
Retain the first record for each exact ID
Paste the example, select Comma, choose Selected column for Duplicate identity, and enter id as the column name. Both A records share that exact ID, so running the tool keeps the earlier first note and removes the later updated note. B remains in its original relative position. Download result.csv only after confirming that retaining the earliest record matches your task. This setting deliberately ignores other cells when deciding identity. If different notes should remain separate records, choose Entire row instead and compare the result before discarding anything.
CSV input; selected column is id
id,note A,first A,updated B,other
CSV result; Removed statistic is 1
"id","note" "A","first" "B","other"
- Identity is case-sensitive and preserves spaces and leading zeros; A, a, and 001 are not automatically normalized into other values.
- Header spelling must match exactly. This example uses id in lowercase rather than an inferred identifier column.
- CSV exports protect formula-like text with the documented apostrophe policy. Review that policy when opening the file in a spreadsheet.
Common questions
Which duplicate is retained?
The first occurrence in the original input order.
Keep going with related tools
All data →CSV Sorter
Sort CSV records by a text or numeric column while keeping the header and stable ties.
TextRemove Duplicate Lines
Deduplicate text lines with exact, trimmed, or case-insensitive matching, keeping the first occurrence.
DataDuplicate-preserving CSV Reconciler
Compare exact CSV tuple counts while retaining duplicate multiplicity and separating missing from extra occurrences.
DataCSV Record Comparator
Compare two CSV tables by declared key columns, ignoring record order and reporting cell changes.
DataNormalized Key Collision Reviewer
Expose distinct raw CSV identifiers that collapse under your declared Unicode, ASCII case and edge-space rules.
FilesRIS Library Overlap Auditor
Find candidate equal-key citation records across local RIS files while preserving repeated fields, original records and file provenance.