Tools / Data Dedupe Cleaner

Data Dedupe Cleaner

Remove duplicate rows from a CSV, a spreadsheet paste or a plain list. Choose which columns decide a match, how forgiving the match is, which row to keep, and see exactly what was dropped and why. Runs in your browser. Nothing is uploaded.

Input

Rules

Rows match when these columns match (none ticked = the whole row):
How forgiving the match is

Cleaned output

Before and after, row by row

What was removed

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.

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.

Data Dedupe Cleaner

See it at work

Free CSV and list deduplicator: choose match columns, ignore case, spaces, punctuation, accents or phone formatting, keep first, last or most complete row, merg

Data Dedupe Cleaner
Fields
API
CLI
text
lines
delimiter
header
columns
hiringsai tool data-dedupe-cleaner
text string
lines False
delimiter auto
header True
18 fields, 1 required
curl -X POST https://hiringsai.com/api/v1/tools/data-dedupe-cleaner/run
-d '{"input": {"text": "<text>"}}'
JSON result
hiringsai run data-dedupe-cleaner --input '{"text": "<text>"}'
also callable over MCP
JSON result printed
Free toolAPI and MCPNo account
Fields
textstring
linesFalse
delimiterauto
headerTrue
Ways to use it
pagethis app
APIPOST .../run
CLIhiringsai run
MCPtools/call
API call
POST /api/v1/tools/data-dedupe-cleaner/run
input: {"text": "<text>"}
JSON result back
Command line
hiringsai run data-dedupe-cleaner
--input <json>
JSON result printed
The Data Dedupe Cleaner page as it opens
Data Dedupe Cleaner18 fields
The page as it opens, captured from the live site.
The Data Dedupe Cleaner app at phone width
Data Dedupe Cleanerphone layout
The same app at phone width.
A team working around a table with laptops
Data Dedupe CleanerFree tool
Free CSV and list deduplicator: choose match columns, ignore case, spaces, punctuation, accents or phone formatting, keep first, last or most complete row, merg
A desktop computer on a white desk with a lamp
Data Dedupe CleanerAPI and MCP
Call it from a script over the API or MCP.