List Difference Checker

Compares two lists and shows what is only in the first, only in the second, or in both. It is handy for checking which email addresses, product codes or file names are missing from one list, or for tidying up two versions of the same list.

Up to 1 MiB.

Options

When on, an item listed 3 times in A and once in B leaves 2 in “Only in list A”.

How to use the List Difference Checker

  1. Paste the first list into List A and the second into List B, one item per line.
  2. Choose which items to show: only in A, only in B, in both, or all items combined.
  3. Adjust the matching options, then select Compare lists. The counts for every group appear above the result.

Matching rules

  • Items are compared line by line. By default, spaces at the start and end are ignored, blank lines are skipped and repeated items are treated as one.
  • Turn on Count repeated items separately to compare quantities: three copies in A and one in B leaves two in “Only in list A”.
  • Results keep the order and spelling of the list they came from.

Limitations

  • Items must match exactly apart from the selected options; similar spellings are not matched.

Worked examples

Items only in list A (case-sensitive)

List A

apple
banana
cherry
banana

List B

Banana
cherry
date

Result

apple
banana
Ignoring letter case

List A

apple
banana
cherry
banana

List B

Banana
cherry
date

Result

apple
Items in both lists

List A

apple
banana
cherry

List B

Banana
cherry
date

Result

banana
cherry

Practical uses

  • Finding who has not replied

    An organiser has a list of invited guests and a list of people who replied. They paste each into its own box and choose the items only in the invite list. The result shows who still needs a reminder.

  • Checking stock against an order

    A shop assistant compares the items ordered with the items delivered. They paste the order into List A and the delivery into List B. The items only in the order list show exactly what is missing from the delivery.

  • Comparing two mailing lists

    A coordinator wants the names that appear on both of two lists. They paste both lists and choose the items found in both. The overlap appears in seconds, and the counts above the result show how many names are shared.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.