Compare Two Lists

Compare two lists line by line: paste them below to see what is only in A, only in B, in both, or in either.

0 lines, 0 unique

0 lines, 0 unique

Matching
Show

Only in A: 0 items

Paste a list in A and in B, one item per line.

Runs in your browser. Nothing you type is sent or saved.

Why Compare Two Lists Here

Four Answers at Once

Every result shows its count before you open it: Only in A, Only in B, In both and All items. Pick one to read it in full, then copy it or download it as a .txt file.

Matching Rules You Can See

Ignore case treats Apple and apple as one item. Trim spaces stops a stray space at the end of a pasted cell from hiding a match. Each rule sits next to its switch, so you always know why two items did or did not match.

Your Lists Stay Here

The comparison runs in this browser tab. Names, emails and follower exports are not sent anywhere, and closing the tab clears them.

What It Means to Compare Two Lists

To compare two lists is to sort their items into four groups: items found only in the first list, items found only in the second, items found in both, and every item from either list. In set terms these are the two differences, the intersection and the union. This list comparison tool treats each line as one item, so a column copied from a spreadsheet works as it is.

Duplicates inside one list do not change the answer. Each item is listed once in every result, in the order it first appeared, and the line under each box says how many lines and how many unique items that list holds. When Ignore case is on, results keep the spelling used in list A, so your original capitals are not lost.

How Items Are Matched

  • One item per line:Each line is one item. Commas inside a line are kept, so Smith, John stays a single item.
  • Trim spaces:On by default. Spaces and tabs at the start and end of each line are removed before matching.
  • Ignore case:Off by default. When on, Banana in list A and banana in list B count as a match.
  • Skip blank lines:On by default, so a gap in your paste does not become an item.
  • Order:Results keep the order in which items first appeared. To sort a result, paste it into alphabetical order.

Common Use Cases

Guest and Email Lists

Paste the invite list and the reply list to see who has not answered yet.

Follower Exports

Paste the accounts you follow into A and your followers into B. Only in A shows who does not follow you back.

Spreadsheet Columns

Copy a column from Excel or Google Sheets into each box instead of building a lookup formula.

Stock and Orders

Compare a delivery note with the order list to find items that never arrived.

Before and After a Cleanup

Compare an old list with the new one to check exactly which entries a cleanup removed.

How to Compare Two Lists

1

Paste list A

Paste the first list into List A, one item per line.

2

Paste list B

Paste the second list into List B. Results update as you type.

3

Set matching

Turn Ignore case on or off. Keep Trim spaces on for data pasted from a spreadsheet.

4

Pick and copy

Choose Only in A, Only in B, In both or All items, then copy or download that result.

Benefits of This List Comparison Tool

Counts First

All four counts are visible together, so you know the size of each answer before you read it.

No Formula to Debug

There is no VLOOKUP, COUNTIF or conditional formatting to set up and check.

Built for Long Lists

The result box keeps a fixed height and scrolls, so a list of 25,000 lines does not stretch the page.

Tips for Clean Results

  • •Join a result: To turn a result into one line for an email or a query, paste it into the comma separator.
  • •Clean one list: To strip repeated lines from a single list before you share it, use remove duplicate lines.
  • •Need line order? This tool ignores order. To see line by line edits between two versions of a text, use the text compare tool.

Compare Your Lists Now

Paste two lists above and all four results appear straight away, each with its count.

Nothing is uploaded and there is no sign-up. Copy the set you need and get back to work.

Related tools

Frequently Asked Questions

How do I compare two lists to find matches?

Paste one list into List A and the other into List B, then choose In both. Every item that appears in both lists is listed once, with its count on the button.

How do I find items missing from one list?

Choose Only in A to see items in list A that are not in list B, or Only in B for the reverse.

Can I compare two columns from Excel?

Yes. Copy each column and paste it into its own box. Each cell becomes one line, and Trim spaces removes stray spaces copied with the cells.

Does it remove duplicates?

Yes. Results are sets, so an item that appears several times in a list is shown once. The line under each list shows how many lines and how many unique items it holds.

Is the comparison case sensitive?

By default, yes: Apple and apple are different items. Turn on Ignore case to treat them as the same; the result keeps list A's spelling.

Are my lists uploaded?

No. The comparison runs in your browser and nothing you paste is sent to a server.