Compare two lists
Find the items two lists share, the ones only in one of them, or merge them without duplicates.
Runs entirely in your browser. Your files never leave your device.
About this tool
Who registered but has not paid yet? Which products are in the new catalogue but not the old one? Which email addresses appear in both newsletters? Paste one list on each side, one item per line, and pick the comparison: items in both lists, items only in list A, only in list B, in exactly one of them, or the union of both without duplicates.
Spaces around each item are trimmed and empty lines ignored, and by default “Ann” and “ann” are treated as the same item. The result keeps the order of the original lists, can be copied in one click or downloaded as a text file, and the counters show how many unique items each list holds.
How it works
- Paste list A and list B, one item per line.
- Choose the comparison.
- Choose whether case matters.
- Copy or download the result.
In set terms: intersection (A ∩ B), difference (A − B and B − A), symmetric difference (in A or B but not both) and union (A ∪ B).
Worked example
120 people registered for an event (list A) and 104 payments came in (list B). “Only in A” shows the 18 who have not paid yet; “only in B” reveals 2 payments from people missing from the sign-up list, probably typed under another email.
“In both” gives the 102 confirmed participants, ready to paste into the badge list.
Good to know
- Compare one identifier per line (email, order number): names are spelled in too many ways.
- Paste a column straight from a spreadsheet; each cell becomes one line.
- Clean each list first with the line tools if they contain stray spaces or blank lines.