Compare two lists
Find shared items, differences or a combined unique list while preserving source order
All input is processed in this browser and is never sent to a server or written to local storage.
Enter data or load the example, then process it.
Each list: up to 10,000 nonblank lines and 100,000 characters.
Supported input and rules
Each nonblank trimmed line is one item. Duplicates are removed before the selected set operation. Case-sensitive matching is the default. The optional case-insensitive mode uses Unicode lowercase mapping; it does not normalize accents, compare names approximately, or merge visually similar characters.
How to use the result
Paste the first list into A and the second into B. Choose intersection, A minus B, B minus A, or union. Intersection and A minus B retain A’s order; B minus A retains B’s order. Union lists A first, then new items from B. Original spelling from the first matching source item is retained.
Worked example
A contains Ada, Bob, Ada; B contains Bob, Cy. Shared items: Bob. Only A: Ada. Only B: Cy. Combined unique items: Ada, Bob, Cy. With case ignored, Ada and ADA match; the result still displays the spelling from its source list.
Scope and limitations
This is a line-based comparison, not a CSV join or record reconciliation system. Split structured tables into the intended key field first. Empty results can be correct, especially when comparing an empty list. The tool does not upload lists, sort them silently or save comparison history.