🔀 Compare Two Lists
Paste two lists (one item per line) and instantly see what is in both, what is only in each, and the combined unique set.
In both (common)3
- banana
- cherry
- fig
Only in A2
- apple
- date
Only in B2
- elderberry
- grape
Union (all unique)7
- apple
- banana
- cherry
- date
- fig
- elderberry
- grape
Each list is de-duplicated first, then compared as sets: “common” is what appears in both, “only in A/B” are the differences, and “union” is every unique item across both. Duplicates within a single list are collapsed. 🔒 Runs entirely in your browser — nothing is uploaded.
How the compare two lists works
Each list is split by line and de-duplicated, then compared as sets: the tool shows the items in both lists (intersection), the items only in List A, the items only in List B, and the union of every unique item across both. Toggle case-sensitivity (so "Apple" and "apple" can count as the same or different) and whitespace trimming. Everything recomputes live as you edit, and each result column has a one-click copy button.
This is the classic set-difference task — reconciling two email lists, diffing two directories of filenames, finding which SKUs are new this week, or spotting which names dropped off a roster. Unlike a line-by-line text diff (which cares about order and position), this treats each list as an unordered set, so re-sorted lists still compare cleanly. Duplicates inside one list are collapsed before comparing. It all runs in your browser, so even sensitive lists like customer emails never leave your device.
Frequently asked questions
How do I find items that are in both lists?
Paste one list on each side, one item per line — the "In both (common)" column shows every item that appears in both lists. It updates as you type.
How is this different from a text diff?
A diff compares line by line and cares about order and position. This compares the lists as sets, so it finds shared and unique items regardless of order — reordering a list doesn't change the result.
Does it handle duplicates?
Yes — each list is de-duplicated first, so an item repeated within one list is counted once. The comparison is between the distinct items of each list.
Can I make it case-sensitive?
Yes — by default "Apple" and "apple" are treated as the same; tick "Case-sensitive" to treat them as different. You can also toggle whitespace trimming.
Is my data uploaded?
No — the comparison runs entirely in your browser and works offline, so private lists (emails, IDs, filenames) stay on your device.