Text

Compare lists: common & unique

Find intersections, unions, one-sided differences and symmetric differences.

Runs in your browser · No file or text uploads
Preparing your tool…
ABOUT THIS TOOL

What Compare lists: common & unique helps you do

Identify overlapping or missing entries between two attendance lists, inventories or sets of identifiers.

How to use it

  1. Enter lists A and B, one item per line.
  2. Choose the set operation you need.
  3. Set whitespace and case rules, then review the extracted list.

Input and output example

INPUT
A: Apple, Pear / B: Pear, Grape
OUTPUT
Common: Pear / Different: Apple, Grape

Supported formats and limits

  • Maximum input: 1 MiB of UTF-8 text per list.
  • Blank lines are ignored and duplicates within a list are combined.

How the result is calculated

Intersection and A-only results preserve A’s first-occurrence order; B-only preserves B’s order. Union and symmetric difference append new B items after the selected A items.

Frequently asked questions

Are repeated quantities compared?

No. These are set operations: they compare whether an item exists, not how many copies it has.

Can spaces be significant?

Disable Trim line edges to include leading and trailing spaces in item comparisons.