Skip to content
Free text tool

Two-list comparer

This list comparer shows how two lists overlap. It is useful for checking which customers, emails, product codes or names appear in one list but not the other.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

100 characters

Ignore case
Ignore outer spaces

Result

In both lists2 items
Only in first list
2 items
Only in second list
2 items
Repeated in first list
Lin Chen (2 times)
ItemIn firstIn second
Lin Chen21
Priya Shah11
Ada Lovelace10
Sam Ortiz10
Omar Haddad01
Grace Hopper01

The numbers show how many times each item appears in each list.

The short answer

Comparing two lists sorts each item into three groups: in both lists, only in the first list, and only in the second list. Counting how often each item appears also reveals repeats inside one list. Matching is exact unless you turn on ignore case.

FormulaIn both = A intersect B; only in first = A minus B; only in second = B minus A

Worked exampleIn the sample, Lin Chen and Priya Shah are in both lists, Ada Lovelace and Sam Ortiz are only in the first, and Omar Haddad and Grace Hopper are only in the second; Lin Chen appears 2 times in the first list.

Example

Input
Ada Lovelace
Lin Chen
Sam Ortiz
Priya Shah
Lin Chen
---
Lin Chen
Priya Shah
Omar Haddad
Grace Hopper
Result
In both lists2 items
Only in first list
2 items
Only in second list
2 items
Repeated in first list
Lin Chen (2 times)
ItemIn firstIn second
Lin Chen21
Priya Shah11
Ada Lovelace10
Sam Ortiz10
Omar Haddad01
Grace Hopper01

The numbers show how many times each item appears in each list.

How to use the two-list comparer

  1. Paste the first list in the box, add a line with only ---, then paste the second list.
  2. Set Ignore case and Ignore outer spaces.
  3. Read the counts and the item table. The result updates as you type. Press Run any time to refresh it.
  4. Press Copy result, or Download to save the report.

How it works

The result starts with how many items are in both lists, only in the first list and only in the second.

A table then lists each distinct item once, with how many times it appears in each list. Shared items come first.

Items that repeat inside a list are also named on a Repeated line with their count.

Blank lines are skipped. Ignore outer spaces is on by default, so spaces at the start or end of an item do not matter. When case is ignored, the table shows the spelling used in the first list.

The input needs exactly one --- line, and each list needs at least one nonblank item.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do I compare two lists?

Put one item per line and separate the two lists with a line holding only ---. The counts and the item table appear as you type.

How do I find items missing from one list?

Look for rows in the table with 0 under In second, which the second list lacks, or 0 under In first, which the first list lacks.

Does it count duplicates?

Yes. The table shows how many times each item appears in each list, and a Repeated line names items that appear more than once in the same list.

Is my data uploaded?

No. Both lists are compared in your browser, so names and emails stay private.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools