Text & data TOOL

List comparison

Find shared items, differences and the union of two lists.

01

Enter your text

On-device processing
List A · one item per line
02

Output options

The input above is list A. Blank lines and duplicates are excluded while preserving input order. The two lists can contain up to 200,000 characters combined.

No account. No uploads.

List comparison · How to use

Find shared items, differences and the union of two lists.

Example

A: apple, banana / B: banana, pear → intersection banana

Things to know

Enter one item per line. Blank lines and duplicates are excluded. The combined limit is 200,000 characters.

Output options

List B · one item per line
Check the input format.
List comparison result
Shared items · Only in A · Only in B · Union · Items in only one list
Leading and trailing spaces
Remove · Keep
Case matching
Case sensitive · Case insensitive

Your files and results are never sent to a server. Everything is processed in this browser.

How to find overlapping and missing items between two lists

Check last month's roster against this month's, or find orders that never shipped. Copying a spreadsheet column gives one value per line, so you can compare two columns without writing a formula.

When to use this tool

  • Find registrants who did not attend
  • Spot order numbers missing from the shipped list
  • Merge two mailing lists without duplicates
  • Pull the values two spreadsheet columns have in common

Step-by-step instructions

  1. Paste the first list into the List A box, one item per line.
  2. Paste the second list into the List B box the same way.
  3. In List comparison result, choose Shared items, Only in A, Only in B, Union, or Items in only one list.
  4. Set the leading and trailing spaces and case matching options, then choose Convert.
  5. Copy the result or download it as a text file.

Frequently asked questions

Are items that differ only in case or spacing treated as the same?

Set case matching to Case insensitive to treat Apple and apple as one item. Leading and trailing spaces are removed by default, but a difference in spacing inside an item still makes it a different item.

What happens to duplicates within the same list?

Blank lines and duplicates are excluded, and each item is compared once in the order it first appears. The result never repeats an item and keeps the original order.

How long can the lists be?

Both lists together can hold up to 200,000 characters. Split larger lists into batches, and use the list sorter afterwards if you want the result in alphabetical order.

Save only the tools you need.