A laptop, a phone and a hand writing in a notebook on a wooden desk, banner image on the Data Dedupe Cleaner page

Werkzeuge / Automate suite

Data Dedupe Cleaner

Remove duplicate rows from a CSV or a list, with the columns, the matching rules and the row you keep all under your control.

Paste a CSV, a spreadsheet selection or a plain list. Pick the columns that decide whether two rows are the same, how forgiving the match is, and which row survives. Optionally fill the survivor's empty cells from the rows you drop, and review near-duplicates such as "Jon Smith" and "John Smith" before anything is removed. A report lists every drop with its line number. Everything runs in your browser. Nothing is uploaded.

Open the toolWhat is insideWhat it cannot do
Screenshot of the Data Dedupe Cleaner tool

What is inside

What is inside the tool.

A real CSV reader

Quoted fields, commas and line breaks inside quotes, doubled quotes, a byte-order mark, CRLF files, and comma, semicolon, tab or pipe separators, detected for you. If a quote is never closed, you are told. Ragged rows are counted and reported.

Pick the matching columns

Tick the columns that decide a match, for example only Email. Tick none and the whole row is compared. Rows keep every column in the output, in the original order, with the header untouched.

Rules for how forgiving to be

Ignore case, extra spaces (including non-breaking and zero-width spaces), punctuation or accents, or compare digits only so (555) 010-2000 equals 555.010.2000. The rules change how rows are compared. The text in the kept row is not changed unless you ask for trimmed cells.

Which row survives

Keep the first, the last, or the most complete row, meaning the one with the most non-empty cells. Optionally fill the survivor's empty cells from the dropped rows. The report says when it did.

Near duplicates, for review

Turn on the near-duplicate search and set a similarity. Names such as Jon Smith and John Smith are listed together. By default nothing is removed; tick one box to remove them too.

Before and after, row by row

For every group of duplicates the tool shows the row it kept and the rows it dropped, side by side with the column headers. Cells that differ from the kept row are underlined, and cells filled from dropped rows are highlighted. On a phone the table scrolls sideways inside its own box.

A report you can audit

Each match shows the kept line, the dropped lines and the key they shared. Blank rows are listed too. Line numbers match your input file.

Plain lines mode

One value per line, no columns. This is the original behaviour of the tool, kept exactly.

Export

Copy the result or download a CSV. Open a file from disk, up to 20 MB. It is read on your device.

Worked example

The sample on the tool page.

Click Sample. It has eight lines: a header, two Ada Lovelace rows that differ in case and spacing, two Grace Hopper rows where one has a city, Jon and John Smith, a blank row, and "Lovelace, Ada" with the same email as Ada.

SettingResult
Whole row, defaultsOnly the blank row goes. The two Ada rows differ in phone, and the two Grace rows differ in city, so a whole-row match keeps them. 7 kept.
Match on Email onlyLine 3 and line 9 are dropped as the same email as line 2, Grace line 5 as line 4, and the blank row. 4 kept.
Match on Email, keep most completeThe surviving Grace row is line 5, the one with the city.
Match on Phone, digits only, skip empty keysGrace line 5 is dropped as the same phone as line 4, and Jon and John Smith collapse into line 6. 5 kept.
Match on Email, fill empty cellsThe survivor keeps its own values and takes missing ones from the dropped rows.
Near duplicates onJon Smith and John Smith are listed together for review. Nothing is removed unless you tick the box.

Matching rules

Exactly what each switch does to the comparison key.

SwitchEffect on the keyExample
Ignore caseLowercaseADA@X.COM matches ada@x.com
Ignore extra spacesCollapses runs of whitespace, including non-breaking and zero-width spaces, and trims the ends"Ada Lovelace " matches "Ada Lovelace"
Ignore punctuationRemoves everything that is not a letter, number or space"O'Brien" matches "OBrien"
Ignore accentsRemoves accents after Unicode decompositionJosé matches Jose
Digits onlyKeeps only 0 to 9(555) 010-2000 matches 5550102000

Near-duplicate similarity is one minus the edit distance divided by the longer key length. At 88 percent, two 10-letter keys may differ by one letter. The search compares rows that survived exact matching, and stops with a message above 3,000 such rows. With 2,500 short name-like keys at a 90 percent setting it took 6.2 to 6.6 seconds on that same machine (500 rows: about 0.25 s; 1,000 rows: about 0.95 s), so very large files should be deduplicated exactly first.

How to use it

Five steps.

Step 1

Paste your data or open a file. The tool detects the separator and shows the column names.

Step 2

Tick the columns that identify a record, such as Email. Leave none ticked to compare whole rows.

Step 3

Choose how forgiving to be and which row to keep.

Step 4

Read the report. Every drop shows its line and the key it matched on.

Step 5

Copy or download the result. Check the near-duplicate list by eye before removing any of them.

What it cannot do

Limits.

It cannot decide who is the same person

Two people can share a name or a household email. Matching on a weak key will merge records that should stay apart. Use a strong key such as an ID or email and read the report.

Near matches are spelling, not meaning

It compares characters. It does not know that Bob and Robert are the same name or that Acme Inc and Acme Incorporated are the same company. This tool matches by spelling distance only.

No cell-by-cell merge UI

The merge option fills empty cells only. It never combines two different values. Review conflicts yourself.

Not for spreadsheets with formulas or formats

You paste text. Formatting, formulas and multiple sheets are lost. Remove duplicates in the spreadsheet itself for those.

Size

Exact matching on a 50,000-row, 1.4 MB test file took 68 to 81 ms over five runs in headless Chrome on a 2-core cloud machine. Your device and your data will differ. File open stops at 20 MB. Near-duplicate search stops above 3,000 rows.

Spreadsheet date and number display

If your source shows 05/06/26, you paste what the sheet displays or exports. Compare in the same format.

What it does

What Data Dedupe Cleaner does.

Free CSV and list deduplicator: choose match columns, ignore case, spaces, punctuation, accents or phone formatting, keep first, last or most complete row, merge empty cells, review near duplicates, see every removed line. It runs in your browser.

FunctionWhat it does
Choose which columns countYes
Rules for spaces, punctuation, accents, digitsYes, switches
Report of what was removed and whyYes, line by line
Near-duplicate or fuzzy matchingSpelling distance, review first
Cost and uploadFree, nothing leaves the page

Reading the report

What each line tells you.

keep line 3, drop line 7

Line numbers are positions in what you pasted, counting the header as line 1. The match: line shows the comparison key after your switches, so you can see why two rows counted as the same.

The row view

Each group starts with the key its rows matched on, shown after your switches (so it is lowercase if you ignore case). Line is the position in your paste. KEPT is the survivor, DROPPED rows follow. Cells outside the key can differ, so they are underlined. If you turned on Fill empty cells, KEPT (filled) marks a survivor that took values from the rows below it, and each filled cell says which line it came from. Near duplicates found by similarity are not in this table. They are listed separately. The view shows the first 40 groups; the removed-rows download has every dropped row.

blank line removed

Rows with nothing in them. They are listed so the row count adds up.

near match

Rows that are similar but not equal under your similarity setting. By default these are review only and nothing is removed. Tick the option to remove them.

Download removed rows and the report

Download removed rows saves a CSV of every dropped row as it was pasted, so you can check or restore them. Download report saves the same match lines you see here, as text, with no cap.

The first 300 matches

The report shows the first 300 exact matches and the first 100 near matches. The cleaned output always contains every kept row.

Common mistakes

What goes wrong, and what the tool does about it.

A weak key

Matching on a name alone treats two different people called the same as one. Pick the most specific column you have, such as an email, and read the matched-on key shown for each group.

Empty keys matching each other

Rows with a blank in the key column all count as the same key. Tick "Never match rows whose chosen columns are empty" to keep them. It is off by default. With it off, two blank-key rows collapse into one.

Expecting the whole row to match

When every column is the key, rows that differ in any column, such as a phone number, are not duplicates. Only exact repeats are removed.

Expecting near matches to be removed

Near matches such as Jon and John are listed for review. They are removed only if you choose to remove them, and then the first row of the group is kept. Near matching finds similar spelling, not the same person.

Losing the dropped rows

The removed rows are available as their own download in the original order, with the header, so a wrong choice can be undone.

Questions

Before you ask.

Is my data uploaded?

No. Parsing, matching and the report all run in your browser tab. Opening a file reads it locally.

Does it change my values?

No, except that "Trim cells in the output" removes extra spaces if you tick it. Matching rules affect only comparison.

Why was a row I expected to stay removed?

Look at the report line. It shows the key it matched on. If the key is too weak, tick more columns. Empty keys match each other, so use "Never match rows whose chosen columns are empty" when blanks are common.

What does "most complete" mean?

The row with the most non-empty cells. A tie keeps the earlier row.

Will it keep my header and delimiter?

Yes. The output uses the same delimiter, and quotes cells only when needed.

What does it cost?

Nothing. No account.

Your data

What stays on your device.

The tool runs in this browser tab. It does not need a server to do its job. Your rows stay in the page. The cleaned CSV contains the kept rows only. The removed-rows file contains the dropped rows exactly as pasted. The text report contains your match keys and line numbers, which are taken from your data. Each is saved only when you press its button. Nothing is copied, downloaded or shared unless you press the button for it.

Keep going

Other tools you may want next.

Try it

Clean the list and see exactly what changed.

Open Data Dedupe Cleaner
A laptop, headphones, a camera, a phone and a plant on a white desk, seen from above, banner image on the Data Dedupe Cleaner page

Try it now.

Data Dedupe Cleaner runs in your browser. No account needed.

Input To Output

Rows in, cleaned rows out

CSV,spreadsheetpaste or plainlistCleaned outputRow by rowbefore andafterWhat wasremoved andwhyDownloadsData DedupeCleanerInOut
InCSV, spreadsheet paste or plainlistData DedupeCleanerCleaned outputRow by row before and afterWhat was removed and whyDownloadsOut
Duplicates are dropped by rules you choose, and each drop is explained.

Pipeline

Four steps

Paste rows or opena fileChoose columnsthat decide amatchChoose howforgiving andwhich row to keepCopy or download
Paste rows or open a fileChoose columns that decide a matchChoose how forgiving and which rowto keepCopy or download
From paste to clean file.

Spec Sheet

Two ways to read the input

Delimited textparsed with quotes andescapesPlain linesone value per line
Delimited textparsed with quotes and escapesPlain linesone value per line
Delimited text or a plain list.

Spec Sheet

Delimiter detection

Candidatescomma, semicolon, tab, pipeScannedfirst 20 non-empty linesCounts skipquoted sectionsRequiredpresent on every scannedlineFallbackcomma
Candidatescomma, semicolon, tab, pipeScannedfirst 20 non-empty linesCounts skipquoted sectionsRequiredpresent on every scanned lineFallbackcomma
Auto mode works it out.

Before After

Whole row or chosen columns

Match onResultWhole rowEmail column onlyDifferent rows are both keptSecond row is a duplicate
Match on to ResultWhole rowDifferent rows are both keptEmail column onlySecond row is a duplicate
Same two rows, two outcomes.

Pipeline

Five forgiving switches

Drop accentsCollapse strayspacesStrip punctuationKeep digits onlyLowercase
Drop accentsCollapse stray spacesStrip punctuationKeep digits onlyLowercase
Applied in this order before matching.

Before After

Four switches, four matches

PairResultAna@Mail.com andana@mail.comAna Lee and Ana LeeJosé and Jose(555) 010-2030 and555.010.2030match on lowercasematch on collapsed spacesmatch without accentsmatch on 5550102030
Pair to ResultAna@Mail.com and ana@mail.commatch on lowercaseAna Lee and Ana Leematch on collapsed spacesJosé and Josematch without accents(555) 010-2030 and 555.010.2030match on 5550102030
Different spellings land on one key.

Spec Sheet

Which row survives

firstthe first matching rowlastthe last matching rowcompletethe row with the most filledcells
firstthe first matching rowlastthe last matching rowcompletethe row with the most filled cells
Three keep strategies.

Pipeline

Filling empty cells

The kept row hasan empty cellA dropped copy hasa value thereThe value moves tothe kept rowThe source line isrecorded
The kept row has an empty cellA dropped copy has a value thereThe value moves to the kept rowThe source line is recorded
The merge option rescues data.

Spec Sheet

Rows that never match

Blank rowsoptionally removed outrightEmpty keysnever treated as matches
Blank rowsoptionally removed outrightEmpty keysnever treated as matches
Two guards.

Pipeline

Near duplicates

Tick Find nearduplicatesSet the similarityReview the pairsChoose to removethem or not
Tick Find near duplicatesSet the similarityReview the pairsChoose to remove them or not
A second pass catches close matches.

Spec Sheet

Similarity search limits

Thresholda slider, percent similarityDistancelimited Levenshtein editsCandidate cap3,000 rows after exactmatchingDefaultreview only, nothing removed
Thresholda slider, percent similarityDistancelimited Levenshtein editsCandidate cap3,000 rows after exact matchingDefaultreview only, nothing removed
How the near-duplicate pass behaves.

Spec Sheet

Three warnings

Unclosed quotethe rest read as one cellRagged rowscounted, compared as theyareBig fuzzy jobskipped past 3,000 rows
Unclosed quotethe rest read as one cellRagged rowscounted, compared as they areBig fuzzy jobskipped past 3,000 rows
Shown above the results.

Spec Sheet

The review table

Each groupkept row, then dropped rowsDiffering cellsunderlinedFilled cellsmarked with the source lineGroups shownthe first 40
Each groupkept row, then dropped rowsDiffering cellsunderlinedFilled cellsmarked with the source lineGroups shownthe first 40
Row by row, before and after.

Spec Sheet

The cleaned output

deduplicated.csvthe cleaned rowsremoved-rows.csvwhat was droppeddedupe-report.txtthe match-by-match reportTrim optioncollapses spaces in outputcells
deduplicated.csvthe cleaned rowsremoved-rows.csvwhat was droppeddedupe-report.txtthe match-by-match reportTrim optioncollapses spaces in output cells
Three downloads and a trim option.

Pipeline

Live as you type

A sample datasetloads on openEvery changerecomputesLong fuzzy jobsdebounce 300 msCopy falls back toselect-all
A sample dataset loads on openEvery change recomputesLong fuzzy jobs debounce 300 msCopy falls back to select-all
No run button.

Before After

Quoted cells survive parsing

In the fileCell value"Lovelace, Ada""say ""hi"""Lovelace, Adasay "hi"
In the file to Cell value"Lovelace, Ada"Lovelace, Ada"say ""hi"""say "hi"
Commas and quotes inside quotes.

Pipeline

Everything runs locally

Paste rows or opena file up to 20 MBAll matching runsin the browserNo network callsanywhereDownloads arelocal blob files
Paste rows or open a file up to 20MBAll matching runs in the browserNo network calls anywhereDownloads are local blob files
The rows never leave the page.