Set Operations
Perform set operations like union and intersection on two lists.
Frequently Asked Questions
What are set operations?
Set operations compare two lists of items: union combines all unique items from both lists, intersection finds items common to both, difference finds items in one list but not the other, and symmetric difference finds items unique to each list.
How do I perform set operations?
Enter items for List A and List B (one per line), then select the operation (union, intersection, difference, or symmetric difference). The tool displays the resulting set.
What is symmetric difference?
Symmetric difference returns items that exist in either list but not in both. It's equivalent to (A ∪ B) − (A ∩ B) — items unique to each list.
Are duplicate items handled?
Yes, sets automatically deduplicate items. Each result contains only unique entries, so duplicates within a single list are removed.
Is this tool free?
Yes, ToolDock's set operations tool is completely free, requires no signup, and runs entirely in your browser.