Compare Two Lists: What Is Only in A, Only in B or in Both
Paste two lists or open two CSV files and see the differences at once, with duplicates and changed values. Salesforce IDs match in their 15- and 18-character form. Free, in your browser, nothing uploaded.
Your Two Lists
The comparison needs JavaScript.
Two Lists In, Five Answers Out
The tool reads each side as a plain list, one value per line, or as a CSV when the lines have columns. For a CSV you pick the column to match on; it suggests the email or ID column.
Every value counts once. You get what is only in A, only in B and in both, the duplicates inside each list and, for two CSV files, the values that changed between them.
Anna.Berg@example.com = anna.berg@example.com
"clara.rossi@example.com " = clara.rossi@example.com
0035g00000AbCdE = 0035g00000abcdeaavTry a Real Case
Each loads two lists the way they come out of real systems.
- Example
A Report Against an Export
A Salesforce report gives 15-character IDs, an export 18-character ones, and Excel made the export lower case. VLOOKUP finds none of them; this tool matches all three.
- 15characters in the report
- 18characters in the export
- 3records matched
- Email
Who Did Not Register
Invited against registered, with mixed case and a stray space.
- Accents
Names From Two Systems
One system kept the accents, the other dropped them.
- Changes
Two Exports, What Changed
The same contacts a month apart: new status, new company.
- Duplicates
One Lead, Three Times
A list with repeated addresses, checked against the CRM.
Why VLOOKUP Misses Salesforce IDs
Every Salesforce record has one ID in two forms. Reports and the address bar show 15 characters, which are case-sensitive: 0035g00000AbCdE and 0035g00000abcde are two different records. Exports, Data Loader and the API add three characters that encode the case, so the 18-character form stays unique when case is ignored.
Excel compares without case and does not know that the two forms belong together, so a lookup between a report and an export finds nothing. With Salesforce IDs ticked, this tool reads both forms as one record and restores 18-character IDs whose letters Excel changed.
- 15 and 18 characters of one record match
- 15-character IDs stay case-sensitive, so two records never merge
- Need one form for all IDs? The Salesforce ID converter turns a whole column into 18 characters
0035g00000AbCdE report, 15
0035g00000AbCdEAAV export, 18
0035g00000abcdeaav after Excel
→ one recordCompare Two Lists in Four Steps
From two exports to the rows you need.
- 1
Add Both Lists
Paste each list, or open a CSV file for A and for B.
- 2
Pick the Match
For a CSV, choose the column on each side; tick the options that fit your data.
- 3
Read the Results
Switch between Only in A, Only in B, In both, Changed and Duplicates.
- 4
Take It With You
Download one list as CSV, all of them as one ZIP, or copy the values.
What It Handles, Read Locally
The rules behind each result, and where the tool stops.
- 50MB per file, read in your browser
- 5Result lists in one ZIP
- 0Bytes uploaded
- List or CSV. A side is a CSV when its first line has two or more columns and most lines have as many; otherwise every line is one value.
- Changed values. Compared in the columns both CSV files have, matched by name, so “E-Mail” and “email” count as one column.
- In both. Shows the row from A with the columns only B has, so one download joins the two files.
- Empty values. Rows with nothing to match on are left out and counted, never matched with each other.
Compare Two Lists FAQ
Short answers to what people ask about comparing lists.
How do I find the values in list A that are not in list B?
Paste list A on the left and list B on the right. Only in A shows every value that list B does not have; Download This List saves them as a CSV.
Why does VLOOKUP miss Salesforce IDs?
A report shows the 15-character ID, an export or the API often the 18-character one, and the 15-character ID is case-sensitive while Excel compares without case. Tick Salesforce IDs here and both forms of one record match, even when Excel changed the letters to lower case.
Can I compare two CSV files by one column?
Yes. Open a CSV on each side and pick the column to match on, for example Email on one side and E-Mail on the other. For records in both files the Changed list shows every value that differs in a column both files have.
Are duplicates counted?
Each value counts once in the results. The Duplicates list shows which values appear more than once in A or in B, and how often.
How large can the lists be?
Up to 50 MB per file, which is several hundred thousand rows. The table shows the first 500 rows of a result; the download holds all of them.
Are my lists uploaded?
No. Both lists are read and compared in your browser. Nothing is sent or stored, and nothing from the lists reaches analytics.
More Free Tools
We Make Salesforce Marketing Work for You
Talk to a certified consultant, not a salesperson, and leave the first call knowing your next step.