Compare two lists to find missing items, shared entries and duplicate counts. Paste one item per line or choose a column from each CSV file, adjust the matching rules and export the result. This free list comparison tool works locally in your browser, with no login, installation or upload of your lists for processing.
Compare text lines or selected UTF-8 CSV columns (2 MB each; 50,000 text lines or 10,000 CSV rows). Blank/whitespace-only items are ignored. Each distinct comparison key appears once; counts retain repetitions and Extra columns show multiset differences. Case-insensitive matching uses Unicode lowercasing. Display uses the first matching spelling. Exports contain exactly the selected result view, including all rows beyond the preview.
Loading browser toolโฆ JavaScript is required.
How to compare two lists
- Add List A and List B. Paste one item per line, or select a UTF-8 CSV file for either side.
- Set CSV columns. Choose a 1-based column number and indicate whether the file has a header row.
- Choose matching options. Decide whether to ignore case, trim surrounding whitespace, collapse internal whitespace and normalise equivalent Unicode characters.
- Select a result view. Choose all items, only one side, shared items, duplicates or different occurrence counts.
- Click Compare lists. Review the counts, then copy the result CSV or download CSV or JSON.
A selected CSV file takes precedence over pasted text on that side. You can compare pasted text against a CSV column, not just two inputs of the same type.
Example: differences and repeated items
Suppose List A contains Alpha, Beta, Beta and Delta, while List B contains Alpha, Gamma and Beta.
| Item | Count in A | Count in B | Meaning |
|---|---|---|---|
| Alpha | 1 | 1 | Shared with equal counts |
| Beta | 2 | 1 | Shared, with one extra occurrence in A |
| Delta | 1 | 0 | Only in A |
| Gamma | 0 | 1 | Only in B |
Beta is not missing from B: it appears there once. Its imbalance is one additional occurrence in A. This distinction is useful when comparing inventories or repeated records instead of only checking membership.
Choose the right result view
Only A shows keys missing entirely from B. Only B shows keys absent from A. Shared items includes keys present on both sides, even when their counts differ.
Duplicates shows keys repeated in either list. Different occurrence counts includes any key with unequal counts, including items found on only one side.
Each distinct comparison key appears once in the results. In A and In B count its occurrences; Extra A and Extra B show the positive differences between those counts. The summary’s repeated-key count is not the total number of repeated lines.
Case, spaces and Unicode matching
Ignore case uses Unicode lowercasing. It can match โAlphaโ with โalpha,โ but it is not fuzzy matching and does not correct spelling mistakes.
Trim removes surrounding whitespace. Collapse internal whitespace changes runs of internal spaces or other whitespace to a single space. Equivalent Unicode normalisation uses NFC, which can match canonically equivalent character sequences without removing accents.
Blank or whitespace-only entries are ignored regardless of the other options. Results use the first matching spelling from A when present, otherwise the first from B. Choose stricter matching when case or spacing carries meaning in your identifiers.
CSV and JSON exports
The preview shows the first 200 rows of the selected view. Copy and download actions include every row in that view, not only the visible preview. CSV contains the item, counts, extra-occurrence counts and membership; JSON exports the selected row objects.
Changing the result view changes what you export. Choose All items and counts if you want the combined comparison, or select a narrower view before saving a specific difference list.
Limits and local processing
Text input supports up to 50,000 lines per side and two million characters. CSV files can be up to 2 MB each, with up to 10,000 data rows and a selected column from 1 to 200. Correct inconsistent CSV rows or a nonexistent column before comparing.
The tool compares values rather than editing source files. Your inputs stay on your device for this operation, and you can save the result without creating an account.
