ListCompare

Find Duplicate Lines in a List

Paste one list. Every line that appears more than once is listed with its count, so you can decide what to keep before importing into a CRM or spreadsheet.

Your list0 lines

Paste a list on each side. Results update as you type — nothing is sent to a server.

How to find duplicates in a list

  1. 1Paste the whole list into the single box — no need to sort it first.
  2. 2Every value that appears more than once is listed with its count and the line numbers where it appears.
  3. 3Turn on Dedupe output if you also want a cleaned version you can copy out, while the duplicate report stays visible.

Why the line numbers matter

A duplicate report that tells you bob@example.com appears three times is useful. One that also says lines 2, 4 and 5 is actionable, because you can go straight to those rows in the source file instead of scrolling for a value you cannot see.

Line numbers are counted after trimming and after empty lines are dropped, so they match what you see in the box rather than the raw file. If your source file has blank lines between records, paste it and count from the cleaned view — or turn off Skip empty lines so the numbering lines up with the file.

The case-sensitivity trap

Ignore case is on by default, which means Alice@example.com and alice@example.com count as one duplicate. That is the right default for email addresses, usernames, domains and tags — most systems treat them as case-insensitive.

Turn it off when the value is genuinely case-sensitive: base64 payloads, case-sensitive product codes, hashes, mixed-case IDs from a legacy system. In those cases collapsing alice@ and Alice@ would hide a real difference rather than find a false one.

Further reading: How to compare two lists in Excel or Google Sheets.

This tool vs. other ways to do it

ApproachBest forDownside
This toolTwo lists from different places — a CRM export against a newsletter, two suppliers' catalogs — and you want the difference in secondsManual paste; no history between sessions
Excel / Sheets formulaData already in a sheet, where the answer should live next to it and update automaticallyNeeds a helper column; COUNTIF across 100k+ rows gets slow
Python setsA recurring comparison inside a pipeline, or lists too big to pasteYou have to write and maintain the script
Text diff (git diff, diffcheck)Documents, code, and finding edits inside a lineReordering a list produces a wall of false changes
Spreadsheet VLOOKUPA per-row question: does this value exist over there, and what does it point toOne answer per row; misses values that exist only on the other side

Limits and edge cases

Capped line references

For a value appearing many times, the first five line numbers are shown followed by an ellipsis, so one pathological value cannot flood the panel.

Case decides what counts as a duplicate

With Ignore case on, Alice@example.com and alice@example.com are one duplicate. Turn it off for base64, hashes, or case-sensitive product codes.

Blank lines are ignored

Empty lines are dropped before counting, so a file with double line breaks does not report dozens of phantom duplicates.

FAQ

Does it show where the duplicates are?

It shows the value, the number of times it appears, and the line numbers. Line numbers make it easy to find the row in your source file.

Can I remove duplicates as well as find them?

Yes. Switch on Dedupe output to get a cleaned list you can copy out, while the duplicate report stays visible above.

Is it case sensitive?

By default, no — Alice@example.com and alice@example.com count as the same entry. Turn off Ignore case if your data is case-sensitive.

Related tools