Compare Two Lists Online
Find differences, shared items and a combined list. Paste lists or import text files, adjust matching rules, then copy or download the results.
Paste two lists. Results update as you type.
Lists are compared locally in this browser. List contents are never uploaded.
Comparison results
A Only
0 itemsItems in List A that are missing from List B.
A ∩ B (In Both)
0 itemsItems shared by both lists, using List A’s spelling.
B Only
0 itemsItems in List B that are missing from List A.
A ∪ B (All Items)
0 itemsEvery unique item from both lists combined.
Written by Anil Gautam · Updated
What do the four list results mean?
A Only is the set difference A − B: entries in your first list that the second list does not contain. B Only is the reverse difference B − A. In Both is the intersection A ∩ B. All Items is the union A ∪ B, containing each distinct matching value once.
For List A = Apple, Banana, Cherry and List B = Banana, Date: A Only contains Apple and Cherry; In Both contains Banana; B Only contains Date; All Items contains Apple, Banana, Cherry and Date. Item order does not affect which group a value belongs to.
Compare Excel columns, email lists or product IDs
Copy one column from Excel or Google Sheets into each input. Each nonempty line becomes an item. This helps find missing SKUs, reconcile user IDs, compare two URL inventories or combine mailing lists without duplicates.
Start with case-sensitive matching for identifiers. Turn it off when uppercase and lowercase should match. Ignore leading zeros only when 007 and 7 represent the same identifier; keep it off for codes where zeros matter.
Matching and formatting are separate
The comparison preserves the first spelling of each matching value. Shared values use List A's spelling. Output sorting and case conversion change the result display without rewriting the inputs. Cleanup buttons deliberately edit the selected input.
CSV and TSV imports do not select spreadsheet columns or parse quoted CSV cells. Splitting replaces a chosen literal separator with line breaks. File imports are limited to 5 MB; large pasted lists may take longer to render. Use Text Diff for changes in document order or wording.