Find common items between two lists
Paste List A and List B to see In both (matches), Only in A, and Only in B. Copy the overlap or the differences in one click.
Also try: Compare two lists Case-insensitive matching Excel or CSV lists
Try a sample workflow
Try an example or add your own two lists below.More examples (9)
People and education
Operations and finance
Data and accounts
Which part do you need?
Add two lists to see how they compare.
Save this workflow for next time
Only settings and column names are saved. List contents stay out of storage.
Select an underlined result to inspect its source rows and matching rules.
This view shows items only. Copy buttons still copy whole rows.
Only in List A
In both
Only in List B
Get the overlap only
- Paste both lists, one item per line.
- Compare, then select only In both.
- Copy or download that matching list.
Common questions
Where are the common items?
In the In both result. That is the intersection—every item that appears in List A and List B after your matching rules.
How do I also see differences?
Only in A is missing from B; Only in B is missing from A. Select two or three parts to combine them without duplicates.
What if capitalization differs?
By default case must match. Turn on Ignore upper/lower case for emails and names. Details: case-insensitive List Matcher.
Do duplicates inside one list count twice?
No. Within each list, a repeated line counts once. The first row is kept when you output whole rows.
What “common items” means
Common items are the values that appear in both lists—the matches, also called the intersection. A free online List Matcher sorts every item into three groups:
- In both — shared / matching items
- Only in A — in the first list, missing from the second
- Only in B — in the second list, missing from the first
The last two together are the differences (a list diff). You can select only the overlap, only the gaps, or any combination.
Steps
- Paste each list (one item per line) or open files.
- Optional: turn on Ignore case, trim spaces, or other matching rules.
- Select In both for matches, or add Only in A / Only in B for differences.
- Copy or download.
Example
List A: Apple, Banana, Orange
List B: Banana, Orange, Mango
Common items (In both): Banana, Orange
Only in A: Apple · Only in B: Mango
Same job in a spreadsheet: =FILTER(A2:A100,COUNTIF(B2:B100,A2:A100)>0) (Excel 365 / Google Sheets). Use this page when you want the three groups without formulas. Related: List Matcher home, private local matching, large lists.