Compare Two Lists
Find union, intersection, differences, duplicates, and frequencies between two lists instantly
Paste two lists, pick an operation — union, intersection, difference, symmetric diff, or duplicate check — and get the filtered result with a count. Faster than VLOOKUP and way less annoying than eyeballing rows in a spreadsheet.
And everything runs in your browser. Nothing gets uploaded.
How It Works
Each list gets split by line breaks, trimmed, and cleaned of blank entries. JavaScript’s Set structure handles the actual comparison. So even with 50,000 items per list, results show up in under a second. But honestly, most people compare a few hundred items at a time — and for that it is instant.
Examples
Finding shared subscribers across two platforms
Your Mailchimp export and Salesforce contacts overlap somewhere. Which emails exist in both?
[email protected]
[email protected]
[email protected]
[email protected]
[email protected][email protected]
[email protected]List B had bob, eve, frank, and grace. Two overlaps. Fast.
Merging inventory SKUs from two warehouses
Both locations sent product lists. You need one clean list — no repeats.
A: SKU-1001, SKU-1002, SKU-1003, SKU-1004
B: SKU-1003, SKU-1004, SKU-1005, SKU-1006SKU-1001
SKU-1002
SKU-1003
SKU-1004
SKU-1005
SKU-1006Catching missing servers after a migration
Your team migrated 150 servers. The new environment reports 143 hostnames. Seven are missing — but which seven? Scrolling side by side would take ages. So you paste both lists and hit A \ B.
web-01
web-02
db-primary
db-replica
cache-01
cache-02
worker-01db-replica
cache-02
worker-01Three missing. And now you know exactly where to look instead of re-checking all 150.
Who Uses This
Comparing dependency lists between package.json files or diffing env vars across staging and production.
Matching test case IDs against executed tests to catch skipped coverage before a release ships.
Merging email lists from different campaign platforms and stripping out duplicates before a send.
Cross-referencing column values from two datasets without writing SQL joins or pandas merge code.
Common Mistakes
✔️ Fix: “apple, banana, cherry” on a single line counts as one entry. Split them into separate lines first — one item per line, or the comparison matches nothing.
✔️ Fix: “Admin” and “admin” will not match in case-sensitive mode. But if your intersection looks suspiciously small, toggle case-insensitive and run it again. Annoying when you don’t catch it.
✔️ Fix: A \ B only returns items in List A missing from List B. Symmetric Difference gives you non-shared items from both sides. Not the same thing. Pick the wrong one and you miss half your results.
Technical Details
- Processing: 100% client-side JavaScript — nothing leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- List Capacity: Handles 100,000+ items per list (limited by device memory)
- Data Storage: None — no cookies, no local storage, no server calls
Frequently Asked Questions
How do I compare two lists without Excel?
Paste one list in each box and pick an operation — intersection, difference, union, whatever you need. Results show up in under a second. No formulas, no conditional formatting, no VLOOKUP headaches. It is genuinely faster than opening a spreadsheet for one-off comparisons.
What is the difference between union and intersection?
Union gives you every unique item from both lists combined — basically “give me everything, no repeats.” Intersection gives you only items that appear in both. So if List A has 50 items and List B has 40, the union might be 70 while the intersection could be 20.
Can I compare more than two lists at once?
Not in one pass. The tool handles two lists at a time. But you can chain it — run the first comparison, copy the result, paste it back into List A, and compare against the third list. One extra step. Works fine.
How do I find items in one list but not the other?
Use “A \ B” to get items in List A that are missing from List B. For the reverse, hit “B \ A.” And if you want all non-shared items from both sides in one shot, Symmetric Difference handles that.
Does this tool store or upload my data?
No. The whole comparison runs in your browser with JavaScript. Your lists never leave your device — nothing goes to a server, nothing saved in cookies or local storage. Close the tab and it is all gone.