Set operations on two lists: intersection, union, difference.
List Compare runs set operations on two lists of lines: intersection, union, difference, and symmetric difference. Paste one item per line into list A and list B, pick an operation, and get the matching lines back. It is handy whenever you need to diff or merge two text lists without writing a script.
No. List Compare runs entirely in your browser and nothing is uploaded. Both lists stay on your device.
Enter one item per line in each list. Each line is trimmed of surrounding whitespace, and empty lines are ignored.
Yes. The result is deduplicated, so each matching item appears only once regardless of how many times it occurs in the input.
Yes. Items are compared as exact strings after trimming, so "Apple" and "apple" are treated as different entries.
Five set operations: in both (intersection), in either (union), only in A, only in B, and in one but not both (symmetric difference).