Skip to content

Text

List Comparer

Find shared items, differences or a combined deduplicated list, with case and whitespace options.

How to use this tool
  1. Paste one item per line into lists A and B.
  2. Choose the result and matching options.
  3. Compare and copy or download the resulting items.

Loading tool…

Find this tool in

About this tool

What is List Comparer?

Compare line-based lists to find shared entries, entries unique to either side or a combined set. Choose trimming and case handling before interpreting the results. This is a set comparison, so repeated appearances of the same normalized value do not represent additional occurrences to reconcile.

A worked example

Find one shared item and two different items

Example input

A
B

→

B
C

Expected result

common: B
first only: A
second only: C

Put A and B in the first list and B and C in the second. Inspect the common and side-specific results. With these simple inputs, trimming and case options do not change the answer. With real identifiers, decide whether spaces and capitalization are meaningful before enabling normalization.

Common mistakes and limits

  • The comparison removes duplicates within a list. Use an occurrence-counting workflow if repeated entries carry meaning.
  • Case-insensitive matching can combine values that a case-sensitive application considers different. Match the destination's rules.

Features

What you can do

  • Intersection, A-only, B-only, symmetric difference and union
  • Optional case folding and surrounding-space trimming
  • Original spelling preserved in copyable line-based output

Frequently asked questions

Questions about List Comparer

Which spelling and order does the result keep?

The first occurrence in list A is kept for shared items. Entries unique to B keep their first occurrence in B. Matching can ignore letter case and trim surrounding spaces; blank lines and duplicates are ignored. Limits are 10,000 lines per list and 1 million combined characters.

Related tools