# Compare Two Lists

> Paste two lists and see what is only in the first, only in the second and in both, with the duplicates in each. Free, and it runs in your browser.

Source: https://www.revquix.com/tools/compare-two-lists
Cost: free, no signup

---

Paste two lists and get what is only in the first, only in the second and in both, with the repeats inside each. Order does not matter, and nothing leaves your browser.

## At a glance

- Takes: Two lists, one item per line or separated by commas or tabs
- Returns: Only in A, only in B, in both, and the repeats in each, with counts
- Handles: 100,000 items a side, trimmed, case-blind or sorted if you ask
- Privacy: Compared on this device. Nothing is uploaded

## How to compare two lists

Paste the first list on the left and the second on the right, or open a file on either side. Put one item per line, or separate the items with commas or tabs: a column copied from a spreadsheet, a comma-separated line from an email and a copied row of cells all work. The results update as you type, and each one can be copied or downloaded as a text file with one item per line.

- Only in A: in the first list and missing from the second
- Only in B: in the second list and missing from the first
- In both: in the two lists, shown once, as the first list spells it
- Repeated in A and Repeated in B: items that appear more than once in the same list, with how many times

## Order and repeats do not count

The two lists are compared as sets. An item near the top of one list and near the bottom of the other is simply in both, and an item listed three times is one item that also shows up among the repeats. That is the difference from Text Compare, which reads two versions line against line, in order, and reports what changed between them.

## Options

Every option applies to both lists at once, and the results follow as soon as you change one.

- Split on: Auto reads each list on its own, taking several lines as one item per line and splitting a single line on its tabs, or else its commas. New lines, Commas and Tabs decide for you, and every choice also ends an item at a line break
- Trim spaces: drops the spaces at either end of each item, a no-break space included. On unless you turn it off
- Ignore case: Asha and asha count as one item, shown as the first list spells it
- Ignore blank lines: skips empty items and counts them apart. On unless you turn it off
- Order: each list's own order, or every result sorted from A to Z with numbers in numeric order, so item 2 comes before item 10

## Where it helps

Checking who registered for an event against who attended. Finding the customer ids one system has and the other lost. Comparing two exports of SKUs, email addresses or usernames before a migration, or two dependency lists after an upgrade.

## What it will not do

It matches whole items exactly, after the options you chose, and never near misses: a typo, Pvt Ltd against Private Limited, or one person with two email addresses are different items. It does not read quotes, so a comma inside a quoted value still splits it, and it does not compare tables row by row; the CSV comparison in Text Compare does that. A character you cannot see, such as a zero-width space, makes two items different, and the Invisible Character Finder shows where one is. A file of up to 10 MB can be opened on each side, and in our tests on a laptop two lists of 100,000 items each compared in about 50 milliseconds, in a background worker, so the page keeps responding.

## Questions people ask

### Is my list uploaded anywhere?

No. Both lists are compared in your browser, in a background worker, and nothing is sent to Revquix or to anyone else. That matters here, because most lists worth comparing are email addresses, phone numbers or customer ids.

### How are duplicates counted?

An item that appears more than once in the same list is shown under Repeated in A or Repeated in B, with the number of times it appears. It still counts once in the comparison, so a repeated item that the other list also has is in both.

### Why do two items that look the same not match?

Usually a character you cannot see. Trim spaces removes ordinary and no-break spaces at either end of an item, but a zero-width space, or any odd character inside the item, still makes it different. Letter case is the other common cause: turn on Ignore case.

### Can I compare two columns from Excel or Google Sheets?

Yes. Copy one column into each side and it pastes as one item per line. A single row copied instead pastes as cells separated by tabs, and Auto splits on those as well.

### How is this different from Text Compare?

Text Compare shows how one version became another: line against line, in order, with what moved and what is only formatting. This page ignores order and position and answers another question: which items each list has that the other does not.

### How long can the lists be?

Pasted text has no fixed limit, and a file of up to 10 MB can be opened on each side. In our tests on a laptop, two lists of 100,000 items each compared in about 50 milliseconds in a background worker. At that size the text boxes themselves get slower to type in, which is the browser's cost of holding that much text, so paste the list or open it as a file rather than typing into it.
