Compare two lists

Find the lines that are only in list A, only in list B, or in both.

List A

List B

Output

2 only in A · 2 only in B · 2 in both
Words 5Characters 31Without spaces 27Sentences 1Lines 5Paragraphs 1Reading time < 1 min

About Compare Two Lists

Which customers are on this month’s list but not last month’s? Which email addresses appear in both sign-up sheets? Paste one list into List A and the other into List B to find out instantly.

Each list is read one item per line. Empty lines and repeats are ignored, and you can choose whether “Apple” and “apple ” count as the same item.

How to use it

  1. Paste the first list into List A and the second into List B, one item per line.
  2. Pick what to show: the full comparison, only in A, only in B, in both, or every item without duplicates.
  3. Keep Ignore case and Ignore surrounding spaces on unless capitals or spacing matter.
  4. Copy the result or download it as .txt.

Frequently asked questions

How is this different from the diff checker?

The diff checker compares two texts line by line in order. Compare lists ignores order: it treats each list as a set of items and tells you which items are missing from the other list.

Can I compare columns from Excel or Google Sheets?

Yes. Copy a column and paste it into List A, then copy the other column into List B. Each cell becomes one line.

What happens to duplicates inside one list?

They are counted once. The result keeps the spelling of the first time an item appears.

Related tools