Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. CSV & Data Analysis
  3. CSV Duplicate Remover
Add to favorites

CSV Duplicate Remover

Find and remove duplicate rows in a CSV, by whole row or chosen columns, ignoring case, stray spaces or number formatting if you want, and review every group before you download.

Rows never leave your deviceMore csv & data analysisJump to full guide

Initializing in your browser…

You might also like

CSV Formatter & Validator

Clean up and standardise a CSV file: change the delimiter, quoting and line endings, trim spaces, fill short rows and remove repeats, with a check against RFC 4180.

CSV File Comparator

Compare two CSV files and see which rows were added, removed or changed, matched by a key column or by position, with each changed value shown before and after.

CSV Viewer & Editor

Open a CSV as a sortable, searchable table, edit cells, rows and columns with undo, and download the result. Runs in your browser.

A sample run

A contact list was put together from two sign-up forms, so some people appear twice, once with their name typed in lower case and once with a stray space after it.

Contacts (10 rows, Name, Email, City, Signed up)

Alice Johnson   alice@example.com      New York
Bob Smith       bob.smith@example.com  Los Angeles
alice johnson   ALICE@example.com      New York
Carol White     carol@example.com      Chicago
Bob Smith       bob.smith@example.com  Los Angeles
David Brown     david@example.com      Houston
Alice Johnson   alice@example.com      New York
Eve Davis       eve@example.com        Phoenix
"Carol White "  carol@example.com      Chicago
Frank Moore     frank@example.com      Denver
What CSV Duplicate Remover produces

Whole row, keep the first copy

Exact match only:                 2 groups, 2 rows removed, 8 left
Ignoring case:                    2 groups, 3 rows removed, 7 left
Ignoring case and edge spaces:    3 groups, 4 rows removed, 6 left

Groups at the last setting: rows 2, 4, 8 (Alice) / rows 3, 6 (Bob) / rows 5, 10 (Carol)

The same ten rows give three different answers depending on what you tell the tool to ignore. Exact matching only catches the copies that are identical. Ignoring case pulls "alice johnson, ALICE@example.com" into Alice's group, and ignoring surrounding spaces catches "Carol White " with its trailing space. Row numbers are spreadsheet rows, with the header as row 1, and the first row of each group is the one kept.

Remove Duplicate Rows, With You Deciding What Counts as the Same

Load a CSV and the tool finds rows that repeat, either across the whole row or in the columns you pick, such as an email address. You choose whether differences in case, stray spaces, accent encoding or number formatting should matter, which copy to keep, and you can review and override every group before downloading the cleaned file.

How to use

  1. 1Drop a CSV onto the page, choose a file, paste rows, or press Try a sample to load a contact list with repeats.
  2. 2Pick Whole row, or Chosen columns and tap the columns that identify a record, such as Email.
  3. 3Choose which copy to keep: the first, the last, or none.
  4. 4Tap the Ignore differences in options that should not make two rows different, such as Upper and lower case.
  5. 5Check the Result panel and the groups below it; tap any row to keep or remove it by hand.
  6. 6Press Download cleaned CSV, and optionally Removed rows CSV for a record of what was dropped.

Key features

  • Exact matching on the whole row or on the columns you choose
  • Five independent options: surrounding spaces, repeated spaces, case, accent encoding and number formatting
  • Unicode case folding, so the German sharp s matches SS
  • Keep the first copy, the last copy, or no copies of each duplicate
  • A review list of every group, with each row switchable between keep and remove
  • Hidden whitespace drawn visibly, so near-identical rows can be told apart
  • Similar matching by edit distance for typos, with an adjustable threshold, on files up to 3,000 rows
  • The cleaned file keeps the input's delimiter and row order, with a UTF-8 byte order mark for Excel
  • A separate download of the removed rows
  • Runs entirely in the browser; nothing is uploaded

How it works

How it decides. By default two rows are duplicates only when the compared cells are identical, character for character. That is the safe starting point, because it never removes a row you might consider different. Five switches relax it one step at a time: ignore spaces at the start or end of a value, ignore repeated spaces inside a value, ignore upper and lower case, treat the two ways of encoding an accented letter as the same, and compare numbers by value so 1, 1.0 and +1 match. Each switch does exactly one thing, and the result panel spells out the rule in force in plain sentences.

Whole rows or key columns. Comparing the whole row finds exact repeats, which is what you want after a copy and paste went wrong or two exports were stacked. Comparing chosen columns is how you deduplicate a contact list by email, an order file by order number, or a product list by SKU, keeping the rest of the row from whichever copy survives.

Which copy stays. Keep the first copy (the usual choice, since the earliest row is often the original), keep the last (useful when later rows are updates), or remove every copy when a repeated row means neither can be trusted. The review list shows each group with the rows it holds, numbered the way a spreadsheet numbers them, and you can tap any row to switch it between keep and remove. Leading, trailing and doubled spaces are drawn as dots and empty cells as a symbol, so two rows that look the same but differ by a trailing space are easy to spot.

Typos and near matches. Under More options, Similar matching groups rows whose compared values are close by edit distance, for example Jon Smith and John Smith, with a similarity threshold you set between 50 and 100 percent. Every compared column has to pass on its own, so two people with similar names but different customer numbers stay separate. Because it compares every pair of rows, similar matching works on files of up to 3,000 rows; exact matching makes a single pass over the file and has no such limit.

What you download. The cleaned file keeps the original column order, row order and delimiter, so a semicolon-separated export comes back semicolon-separated, and it starts with a UTF-8 byte order mark so Excel shows accented names correctly. You can also download just the removed rows, which is a handy record of what was taken out. Everything runs in your browser and the file is never uploaded.

Where this fits a data pipeline

  • Cleaning a mailing list

    Compare on the Email column with Upper and lower case and Surrounding spaces ignored, so Ann@Example.com and ann@example.com followed by a space count as one subscriber.

  • Undoing a double import

    When the same export was pasted into a sheet twice, whole-row matching with the defaults removes the second copy of every row and nothing else.

  • Keeping the latest record

    For a file of customer updates appended over time, compare on the customer ID and keep the last copy, so each customer's most recent row survives.

  • Checking before deleting

    Review each group, keep a row the rule would have removed, and download the removed rows as an audit trail.

Tips & best practices

  • Start with no options and look at the result, then switch options on one at a time. The counts update instantly, so you can see exactly what each one adds.
  • For contact lists, compare on the email column with case and surrounding spaces ignored. Names vary far more than addresses.
  • If a group in the review list surprises you, tap the row you want to keep rather than loosening the rule for the whole file.
  • Download the removed rows before you overwrite anything, so the change can be checked or undone later.

Examples

  • Exact repeats only

    In the sample contact list, whole-row matching with no options finds 2 groups and removes 2 of 10 rows: a second Alice Johnson and a second Bob Smith that are identical to the first.

  • Case and trailing spaces

    Switching on Upper and lower case and Surrounding spaces in the same file finds a third group ("Carol White" and "Carol White " with a trailing space) and adds "alice johnson" to Alice's group, so 4 rows are removed and 6 remain.

  • Deduplicating by email

    Comparing only the Email column, exact, finds 3 groups and removes 3 rows; ALICE@example.com stays because of its capital letters until case is ignored.

Frequently asked questions

What counts as a duplicate?

By default, two rows whose compared cells are identical character for character. Each option under Ignore differences in relaxes that in one way, and the Result panel states the rule in force in plain sentences, including which copy survives.

Can I deduplicate on one column, like email, and keep the rest of the row?

Yes. Choose Chosen columns and tap Email. Rows with the same email are grouped, and the copy you keep is written out in full with all its other columns.

Two rows look identical but are not matched. Why?

Usually a hidden difference: a trailing space, a double space, different case, or an accented letter encoded two ways (macOS often writes it as a letter plus a combining accent). The review list draws edge and doubled spaces as dots. Turn on the matching option under Ignore differences in.

Are 1 and 1.0 duplicates?

Only with Number formatting switched on. It is off by default because it also makes 007 and 7 the same, and zero-padded codes such as ZIP codes or product numbers are usually meant to be different.

Which row is kept?

The first copy in file order unless you choose the last copy or no copies. You can override any single row in the review list by tapping it.

How does Similar matching work?

It compares each chosen column separately, ignoring case and extra spaces, and counts two values as similar when their edit distance is small relative to their length. At 90 percent, Jon Smith and John Smith match while Jon Smith and Joan Smyth do not. It compares every pair of rows, so it is limited to files of 3,000 rows.

Will my file keep its format?

Yes. Rows stay in their original order, the delimiter of the input is reused (comma, semicolon, tab or pipe), quoting follows RFC 4180, and a UTF-8 byte order mark is added so Excel reads accented characters correctly.

Related tools and how they differ

  • CSV Merger: Use first to stack several CSVs into one file (append rows or merge columns side by side); then come back here to dedupe the combined result.
  • CSV File Comparator: Use it when the duplicates are spread across two files and you want to see which rows were added, removed or changed between them.
  • CSV Sorter: Sort after cleaning to bring related rows together, for example by email or by date.

Private by design

Rows and columns are parsed and transformed in memory in your browser. No record ever reaches a server.