EN
My tools

Compare Two Lists

Compare two lists: items in both, only in list A, only in list B, the merged unique list and the difference, ignoring case and spaces if you like. Also finds duplicates.

In both lists
2 items
Only in list A
2 items
Only in list B
2 items
All items (union)
6 unique items
In one list only
4 items

List A: 5 items (4 unique) · List B: 4 items (4 unique). Matching ignores case; each result keeps the spelling seen first.

Items repeated inside a list
ItemListTimes
bananaList A2
My tools →
Advertisement

Comparing two lists by eye is slow and error-prone. Paste two lists, such as last month’s and this month’s customers, an invitation list and the RSVPs, or two exports from different systems, and this tool sorts every item into the right bucket: in both lists, only in A, only in B, the merged list without duplicates, and items that appear in just one list. It can ignore capital letters and stray spaces, and it reports items repeated inside each list.

How to use this tool

  1. Paste the first list into List A and the second into List B.
  2. Choose how items are separated: lines, commas, tabs or spaces.
  3. Decide whether “Apple” and “apple” should count as the same item.
  4. Copy whichever result you need: in both, only in A, only in B, union or difference.

Formula

Both = A ∩ B · Only A = A − B · Only B = B − A · Union = A ∪ B · One list only = (A − B) ∪ (B − A)

These are the standard set operations. Each list is first reduced to its unique items; with “ignore case” two items match when their lower-case forms are equal, and with “ignore spaces” leading and trailing spaces do not count. Text is Unicode-normalised (NFC), so an accented letter typed in two different ways still matches. Results keep the order in which items first appear, or can be sorted A to Z with numbers in natural order (item2 before item10).

Example

With the default lists, A has 5 entries (banana appears twice, once as Banana) and B has 4. In both: banana and date. Only in A: apple and cherry. Only in B: fig and grape. The union has 6 unique items, and the duplicates table shows banana twice in list A.

Frequently asked questions

How do I find names that are in one list but not the other?

Paste the lists as A and B and read “Only in list A” and “Only in list B”. “In one list only” combines both, which is the symmetric difference.

Can I compare columns from Excel?

Yes. Copy a column from each sheet and paste them here; each cell becomes one line. If you copy several columns, choose “Tabs” as the separator to compare every cell.

Does it find duplicates inside one list?

Yes. Items that appear more than once within list A or list B are listed in the table with the number of times they occur.

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 8). Compare Two Lists. https://kakao.mobile/tools/list-comparer/

MLA

“Compare Two Lists.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/list-comparer/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement