Remove duplicate rows from a CSV, free
Pick a CSV file. This page counts its exact duplicate rows and stray spaces and gives you a cleaned copy. Everything happens in your browser: the file is never uploaded anywhere.
Your file is bigger than the free limit of 250 rows. The count above covers the whole file, but the free download stops at 250 rows.
The Local CSV Cleanup Workbench cleans files up to 20,000 rows. It works offline as one HTML file you keep, shows a receipt of every removed row and trimmed cell, and guards against spreadsheet formula cells on export. One-time $12, 14-day self-serve refund.
Buy the Workbench for $12What counts as a duplicate here
A row is a duplicate when every cell matches an earlier row exactly, after trimming spaces if that box is ticked. The first copy is kept and later copies are removed, and the header row is never removed. "Bob" and "bob" count as different rows. So do two rows that share an email address but differ anywhere else. This page never guesses at near-duplicates.
Is my file really not uploaded?
Yes. The file is read by JavaScript in this tab with the browser's FileReader and never sent anywhere. The page sends one anonymous visit count, with no file contents, no cookies and no IP address (privacy). You can switch your internet off after the page loads and it still works.
Excel files
Save the sheet as CSV first: in Excel, File > Save As > "CSV UTF-8 (Comma delimited)". In Google Sheets, File > Download > Comma-separated values.
Free version or Workbench?
The free page is enough for small lists of up to 250 rows. The $12 Workbench is for bigger exports (up to 20,000 rows and 5 MB). You keep it on your own computer and it works without internet. Each change is marked row by row before you save, and cells starting with = + - @ are protected so a spreadsheet won't run them as formulas. More on cleaning by hand: how to remove duplicate CSV rows without uploading.