Text Diff
Compare two texts and show their differences.
Compare two lists and compute their intersection, union, and differences. Options let you control case sensitivity and how whitespace and blank lines are handled.
This free tool compares two lists — email addresses, IDs, filenames, or anything else — and quickly identifies what they have in common and what’s unique to each.
It computes all four common set operations at once: intersection (in both), union (all unique items), only-in-A, and only-in-B, with a copy button for each. Options for case sensitivity, whitespace trimming, and blank-line handling let you compare messy real-world data flexibly.
The intersection is the items present in both List A and List B. The union is all unique items from both lists combined. The difference ("only in A" / "only in B") is the items that appear in just one of the two lists. These are useful for comparing two datasets to find what they share or how they differ.
Duplicates are merged — each result shows each item only once, since the lists are treated as sets.
Yes. The comparison runs entirely in your browser using a lightweight algorithm, so lists with tens of thousands of lines work fine.
No. All comparison happens entirely in your browser — nothing is sent anywhere.