Skip to content
OddsockLocal
Local
Source text
ItemQuantity
Notebook12
Pencil4
3 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste the CSV.
  2. Leave Result on report to count, or switch it to dedupe to drop extra copies.
  3. Read duplicateRows. Zero means every row was unique. Groups lists only the rows that appeared more than once.
  4. If near-copies differ only by spaces, trim them with CSV cleaner and count again.

What is Duplicate rows?

A duplicate row is a second copy of every cell, not a second mention of a name. Result left on report returns JSON: duplicateRows is how many extra copies exist, and groups lists each repeated row with its count. Switch Result to dedupe and the page returns CSV with the header and the first copy of each row.

Read more

This sheet has a duplicate you can see. Header name, amount, code. First data row is the quoted company A, Inc. with amount 2 and code 001. The next two rows are both Bob, amount 10, and an empty code. The report is duplicateRows 1, because one extra copy exists, and a single group whose row is Bob, 10, and an empty string, with count 2. The company row is not in groups. Dedupe writes three lines: the header, the company row with the comma inside the name still quoted, and one Bob row.

Spaces matter. A cell with a trailing space does not match the same text without it. Trim with the cleaner first if the copies only disagree on padding. An empty code is a real cell, so Bob with a blank code does not match Bob with code 001.

Use cases

  • A bookkeeper finding which invoice lines were pasted twice before a total.
  • A teacher checking a roster for the same student row entered on two days.
  • An engineer confirming a fixture that should have zero duplicate rows.
  • A support agent collapsing a ticket export that logged the same event twice.
  • Someone comparing this exact-match count with the cleaner, which trims before it deletes.

One repeated Bob row

name,amount,code then "A, Inc.",2,001 then Bob,10, then Bob,10, again. Result left on report.

duplicateRows 1. One group: row Bob, 10, and an empty code, count 2. Dedupe keeps the company row and a single Bob row.

Why use Oddsock

The report names the repeated rows and their counts so you can decide whether to delete them, and dedupe is a separate switch.

Related tools

Using this tool

Extra copies, not the number of groups. Two identical Bob rows produce duplicateRows 1 and a group with count 2.