Two-list comparer
This list comparer shows how two lists overlap. It is useful for checking which customers, emails, product codes or names appear in one list but not the other.
- Runs in your browser
- Free, no account needed
- Copy or download the result
Result
Example
Ada Lin Ada --- Lin Sam
{
"firstUniqueItems": 2,
"secondUniqueItems": 2,
"onlyInFirst": [
"Ada"
],
"onlyInSecond": [
"Sam"
],
"inBoth": [
"Lin"
],
"duplicatesInFirst": [
{
"value": "Ada",
"count": 2
}
],
"duplicatesInSecond": []
}How to use the two-list comparer
- Paste the first list in the box, add a line with only ---, then paste the second list.
- Set Ignore case and Ignore outer spaces.
- Press Run to compare the lists.
- Press Copy result, or Download to save the report.
How it works
The result has onlyInFirst, onlyInSecond and inBoth, each showing every item once in the order it first appears.
duplicatesInFirst and duplicatesInSecond show items that repeat inside a list, with a count for each.
Blank lines are skipped. Ignore outer spaces is on by default, so spaces at the start or end of an item do not matter.
When case is ignored, inBoth shows the spelling used in the first list.
The input needs exactly one --- line, and each list needs at least one nonblank item.
Everything runs in your browser. Your input is not uploaded or stored.
Questions and answers
How do I compare two lists?
Put one item per line, separate the two lists with a line holding only ---, and press Run. The result groups items by which list they appear in.
How do I find items missing from one list?
Check onlyInFirst for items the second list lacks, and onlyInSecond for items the first list lacks.
Does it count duplicates?
Yes. Repeated items are grouped in duplicatesInFirst or duplicatesInSecond with how many times each appears.
Is my data uploaded?
No. Both lists are compared in your browser, so names and emails stay private.