Compare two lists
Compare Two Lists Online – Find Matches and Differences
Find common items, items missing from either list, or a unique combined list without uploading your text.
Review removed duplicates
| Removed line | Kept line | Removed original text |
|---|
How it works
Each list is treated as a set of comparison keys. Choose intersection, either directional difference, or union. Duplicates collapse within each list; retained text is never converted to a number.
When to use it
Compare two exported ID columns or check which items appear in both inventories. Shared results use the first original entry in list A.
Good to know
Order and frequency are not compared. This is not a document diff. Either list may be blank and is treated as an empty set.
Up to 500,000 characters and 25,000 lines per input. UTF-8 text files up to 2 MB. Review outputs before using them.
CSV protection adds an apostrophe to fields starting with formula-like characters or tab/line-break controls. It changes those values. Protection varies by spreadsheet and may be lost after saving and reopening. Import untrusted data and identifiers as text. Copy or TXT preserves the original values.
Find shared or missing values
Paste one value per line into each list. Select the result you need: common items, items only in A, items only in B, or the combined unique list. Select Compare lists, then check the result before copying or downloading it.
Choose matching options deliberately. Trim line edges can ignore surrounding whitespace; Ignore case can match differently capitalized entries. These choices change matching keys. Retained results use original text, and shared results take the first original value in A.
Example: two inventory lists
For A containing 001, 002, 003, 003 and B containing 002, 003, 004: common items are 002 and 003; only A is 001; only B is 004. The union contains four unique identifiers.
Repeated values within each list collapse. This is a set comparison, so it does not compare quantities or line positions. It also does not identify edits between two documents. Either list may be blank and is treated as an empty set.
Prepare the columns first
For a CSV export, use Extract a CSV column to isolate the identifier. To inspect repetitions within just one list, use Remove duplicate lines. Avoid pasting whole spreadsheet rows when you intend to compare one field.
Frequently asked questions
How do I compare two lists online?
Paste one item per line into List A and List B, choose In both lists, Only in A, Only in B, or Combined unique list, then select Compare lists.
How can I find items missing from one list?
Choose Only in A for items present in A but missing from B, or Only in B for items present in B but missing from A. This is useful for checking exports, product codes and inventories.
Matching options explained
Does the comparison ignore duplicates and preserve leading zeros?
Repeated entries collapse within each list, and identifiers such as 001 remain text rather than numbers. The tool compares sets of items; it does not compare quantities or original line positions.
Can the comparison ignore capitalization or extra spaces?
Yes. Enable Ignore case to treat differently capitalized values as matching, or Ignore edge spaces to disregard leading and trailing spaces. Leave these settings off when those differences matter.
Are my lists uploaded to a server?
The comparison runs locally in your browser. See the privacy policy for details on site analytics and data handling.
