TextyConverterbeta
⌘K

Compare Two Lists

Compare two lists and see items only in A, only in B, and in both. Browser-only.

Only in A (0)
In both (0)
Only in B (0)

About Compare Two Lists

This tool takes two lists (one item per line) and produces a three-way breakdown: items only in the first list, items only in the second list, and items in both. It's the visual companion to the set-operation tools (list-union, list-intersection, list-difference).

When to use it

  • Diffing two email lists or contact lists
  • Comparing two inventories to find missing items
  • Auditing two configs to see what changed at the line level
  • Visualizing what's shared between two sets of tags or IDs

How it works

Both lists are split on LF/CRLF with blank lines removed. Sets are built from each. The three result lists are computed by single-pass membership checks. Case-sensitive comparison is optional.

Examples

A: apple, banana, cherry
B: banana, cherry, date
Only A: apple
Both: banana, cherry
Only B: date

Frequently asked questions

How does this differ from list-union/intersection/difference?
Those tools each return one of the three buckets. This tool shows all three at once, which is more useful for visual comparison.
Are duplicates within a list counted?
No. Each item is counted once per list — the comparison is set-based.

Related tools