Compare Two Lists

Paste two lists to see what they share, what is missing from each, and which items repeat.

Try an example
Format help and preview

New lines always separate items. To keep commas inside items, choose New lines.

No items to preview.

Format help and preview

New lines always separate items. To keep commas inside items, choose New lines.

No items to preview.

Order does not affect matching. Up to 400 lines, 400 items and 20,000 characters per list. Some emoji and symbols count as two or more characters.

Undo keeps up to 20 replacements in this visit; very large histories keep fewer. Reloading clears history.

Example results

These are the results for the example lists shown in the boxes. Paste your own lists and press Compare lists.

In both lists

3 distinct items

Each item appears once. List 1 order is kept. Copied and downloaded results list one item per line.

List 1: 5 items · 5 distinct · 0 repeats · 0 empty entries skipped

List 2: 4 items · 4 distinct · 0 repeats · 0 empty entries skipped

Repeated items (0)

Counts use the same matching rules. A repeated item can still be shared. Each row lists the original text and its source location.

No repeated items under these rules.

Questions about comparing lists

Does the order of the items matter?

No. Items are matched wherever they appear in each list. Results follow List 1 order, except Only in List 2, which follows List 2. Combined adds the new items from List 2 after List 1.

Are "Apple" and "apple" the same item?

Not by default. Matching is exact, so capital letters, spaces, accents and leading zeros count. Accented letters can look the same but be stored differently, so they may not match. Turn on Ignore letter case or Ignore surrounding spaces under Matching rules. Your lists and the copied results keep their original spelling.

Can I paste a list separated by commas?

Yes. Choose Commas, Tabs or Semicolons as the format of that list. New lines always separate items too. Each list has its own format, so you can compare a comma-separated list with a column copied from a spreadsheet.

What happens to duplicates?

Each result lists an item once. Open Repeated items to see every item that appears more than once, with how many times and on which lines.

How long can the lists be?

Up to 400 items, 400 lines and 20,000 characters in each list. Some emoji and symbols count as two or more characters. The tool never cuts a longer list. It asks you to shorten it.