List Difference Calculator
Compare two lists side by side and instantly see which items are unique to each list and which items they share in common — color-coded for easy reading.
What Does This Tool Do?
When you have two lists and need to know what's different between them — what's in List A but not B, what's in B but not A, and what they have in common — this tool shows all three sets at once with color-coded panels. Essential for data reconciliation, list comparison, and finding discrepancies.
Key Features
How to Use This Tool
- Paste List A (one item per line) in the left panel.
- Paste List B (one item per line) in the right panel.
- Click Compare to see the three-way breakdown.
- Use the Copy buttons to copy any of the three result groups.
How It Works
Both lists are parsed into arrays, trimmed, and filtered. JavaScript Set objects are used to efficiently compute which items exist only in A, only in B, or in both. Comparison is case-sensitive — "Apple" and "apple" are treated as different items.
Common Use Cases
Frequently Asked Questions
Is comparison case-sensitive?
Yes — "Apple" and "apple" are treated as different items. If you want case-insensitive comparison, run both lists through the Lowercase tool first.
Can I compare lists with thousands of items?
Yes — Set-based comparison is very efficient and handles large lists quickly.
Related Tools
Link to This Tool
Copy and paste the code below to link to this tool from your website: