Check which items are present, not which row they are on
Two shopping lists can look different simply because the items are in a different order. If you want to find what is missing, separate the results into three groups: only in A, only in B, and in both.
That tells you which items are present—not how many of each you need. Before comparing, decide whether you are checking the kinds of items or their quantities.
Read the three results in a shopping-list example
For this example, A is the original list and B is the revised list.
List A
Milk Bread Eggs Bread
List B
Eggs Milk Apples
Scroll sideways to see the full table.
| Result | Items | What changed from A to B? |
|---|---|---|
| Only in A | Bread | No longer on B |
| Only in B | Apples | Added to B |
| In both | Milk, Eggs | Still there, in a different order |
A has four lines but only three distinct items because Bread appears twice. B also has three distinct items. Equal counts do not mean equal lists: only two items are shared, and Bread has been replaced with Apples.
“Added” and “removed” make sense here because B is a revision of A. If the lists are two people’s separate wish lists, read the same results as different preferences, not edits.
Select “Try an example” in Compare Two Lists to reproduce this comparison. Save any existing input before resetting it.
A shared item does not mean an equal quantity
If Bread appears twice in A and once in B, a membership comparison still reports one shared item: Bread. It does not report that one loaf was removed.
Combining repeats is useful when they are accidental duplicate entries. But if every line represents a physical item or an occurrence, combining them loses information. Keep the originals and compare quantities separately. This tool does not reconcile item counts.
Why apparently identical items may not match
- Surrounding spaces. “Milk” and “ Milk ” are different by default. Ignore surrounding spaces if those spaces came from copying and pasting.
- Capitalization. Enable case-insensitive matching only if “Milk” and “milk” should count as the same item.
- Spaces within an item or different spelling. “Oat milk” and “Oatmilk” remain different. Matching does not guess at typos or synonyms.
- Leading zeros. “001” and “1” remain different items. If you copied identifiers through a spreadsheet, check that their original spelling survived.
Matching options change the answer. When you are unsure, start with the default settings, review the unmatched items, and then decide what to ignore. Results retain the first original spelling and spacing; shared items use List A’s version.
Choose the tool for the question
- Compare Two Lists finds missing and shared items regardless of order.
- The Text Diff Checker highlights changes within lines and helps you review two versions of a message.
- The Duplicate Line Remover cleans repeats out of a single list.
Keep the original input and decide what counts as a match before using the results. The comparison runs in your browser; after copying a result, check where you are about to paste it.