List Set Operations

Find union, intersection, or one-sided differences between line lists.

Scope: Results preserve first-seen line order rather than sorting.

Workbench

Inputs stay on this page.

Blank lines are ignored; duplicate comparison keys are removed while first-seen display order is preserved.

How to use List Set Operations

  1. Fill in the fields:

    • First list.
    • Second list.
    • Set operation: Union, Intersection, Only in first list, Only in second list.
    • Case-sensitive items (optional).
  2. Press “Compare lists”.

  3. Copy the result, or download it as list-set-result.txt.

About this tool

Find union, intersection, or one-sided differences between line lists.

Blank lines are ignored; duplicate comparison keys are removed while first-seen display order is preserved.