All tools

List Union, Intersection, and Difference

Compare two line-separated lists and calculate their union, intersection, or difference to find shared or missing entries.

Set A0 characters
Set B0 characters
Calculation result0 characters

Input and result notes

Set operations compare list entries and remove duplicates. Difference is directional: A minus B usually differs from B minus A, so check the left and right lists.