Loading…

Compare Two Lists

Tools and Utilities • Text and List Utilities

View all topics

The calculator compares unique items from each list and outputs: Intersection (in both lists), Only A, and Only B.

Ready

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does Compare Two Lists show in the results?

It outputs three lists: Intersection (items present in both lists), Only in A (items in List A but not List B), and Only in B (items in List B but not List A).

Does the calculator remove duplicates before comparing the lists?

Yes, the comparison is based on unique items from each list, so repeated entries do not change which items appear in Intersection, Only in A, or Only in B.

Why do I get different results when case-sensitive is turned on or off?

With case-sensitive on, Apple and apple are treated as different items. With case-sensitive off, they are treated as the same item during comparison.

What does the Trim option do when comparing two lists?

Trim removes extra spaces around each line before comparison. This prevents items that differ only by leading or trailing spaces from being treated as different.

What happens if my lists contain blank lines?

If Ignore blanks is enabled, empty lines are skipped and do not appear in any output list. If it is disabled, blank lines may be treated as items and affect results.