List Compare
Compare two lists and get their intersection, differences, union, and symmetric difference — 100% in your browser, no upload.
🔒 Compared in your browser — nothing is uploaded.
Two lists, five set relations
Paste two lists — one item per line — and List Compare treats each as a set of lines and shows every set relationship at once: the intersection (items in both), only in A, only in B, the union of all unique items, and the symmetric difference (items in exactly one list). Each result section has a live count and a one-click Copy button, and duplicate lines inside a list are collapsed so the comparison is by membership, not by how many times an item is repeated.
Trim and case options
Turn on trim whitespace to ignore leading and trailing spaces when matching, and ignore case to treat Apple and apple as the same item — in both cases the original text of the first occurrence is what appears in the results. Blank lines are ignored, and everything runs locally in your browser, so even long or confidential lists never leave your device. Need a line-by-line, position-aware comparison instead? Use the text diff tool.
Frequently asked questions
How is this different from a text diff?
A text diff compares two blocks line by line in order and highlights what changed at each position. List Compare ignores order and repetition: it treats each list as a set and answers which items are in both, only in A, only in B, or either — the classic set operations.
Does it ignore case, extra spaces, and blank lines?
Blank and whitespace-only lines are always ignored. Turn on "ignore case" to match items regardless of capitalization and "trim whitespace" to ignore surrounding spaces. The original text of the first matching line is always what is shown and copied.
Is my data uploaded anywhere?
No. All comparison happens in your browser with JavaScript. Your lists are never sent, stored, or uploaded, so confidential data stays private.