Compare Two Lists
Free online list comparison tool. Find the difference, intersection, symmetric difference, or union between two lists.
About This Free Online Compare Two Lists
Our Compare Two Lists tool lets you find set operations between two lists of items (one per line). Choose from Difference (items in A not in B), Intersection (items common to both), Symmetric Difference (items in either but not both), or Union (all unique items from both). Perfect for comparing CSV exports, membership lists, or any line-based data.
Features of Our Compare Two Lists
- Four comparison modes: Difference, Intersection, Symmetric Difference, Union
- Dual input areas for List A and List B
- Case-sensitive toggle
- Real-time results with line counts
- 100% client-side processing
How to Use the Compare Two Lists
Using this tool is simple and requires no signup or registration. Follow these steps:
- Paste your first list into List A (one item per line).
- Paste your second list into List B (one item per line).
- Select the comparison mode (Difference, Intersection, etc.).
- Read the results in the output area with line count shown.
Frequently Asked Questions About Compare Two Lists
What is the difference between Difference and Symmetric Difference?
Difference (A - B) shows items in List A but not in List B. Symmetric Difference shows items that are in either list but not in both — essentially the combined unique items from both lists excluding the intersection.
Is the comparison case-sensitive?
By default, comparisons are case-sensitive. You can toggle case-insensitive mode using the checkbox.
Why Choose Text Toolbox?
Text Toolbox provides free, private, and instant online text tools. Unlike other text utility websites that require signup accounts or send your data to servers, all our tools process your text entirely in your browser. This means your content never leaves your device — we cannot see it, store it, or share it. Our tools are fast, lightweight, and work on any device with a modern web browser.