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
Result
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
Ada Lovelace Lin Chen Sam Ortiz Priya Shah Lin Chen --- Lin Chen Priya Shah Omar Haddad Grace Hopper
- Only in first list
- 2 items
- Only in second list
- 2 items
- Repeated in first list
- Lin Chen (2 times)
| Item | In first | In second |
|---|---|---|
| Lin Chen | 2 | 1 |
| Priya Shah | 1 | 1 |
| Ada Lovelace | 1 | 0 |
| Sam Ortiz | 1 | 0 |
| Omar Haddad | 0 | 1 |
| Grace Hopper | 0 | 1 |
The numbers show how many times each item appears in each list.
How to use the two-list comparer
- Paste the first list in the box, add a line with only ---, then paste the second list.
- Set Ignore case and Ignore outer spaces.
- Read the counts and the item table. The result updates as you type. Press Run any time to refresh it.
- 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