Private by design. Your lists are compared locally in your browser and are not uploaded to Q3 Labs.
0 items
0 items
One item per line. Blank lines and spaces at the start or end of a line are ignored. Up to 200,000 items or 2,000,000 characters per list; long lists are compared when you press Compare Lists (or Ctrl + Enter).
Matching
Comparison
- List A
- 0 items
- 0 unique
- List B
- 0 items
- 0 unique
- In both
- 0
- Only in A
- 0
- Only in B
- 0
- Duplicates A
- 0
- Duplicates B
- 0
Paste a list into List A and List B, one item per line, to compare them.
Free online list comparison tool
Comparing two lists by eye is slow and easy to get wrong. This tool does it exactly: paste email addresses, product codes, names, URLs, keywords or any other one-per-line list into each box, and it sorts every item into only in List A, only in List B or in both, and points out items repeated within a list.
You can copy any section, copy a full plain-text report or download everything as CSV. Nothing is guessed: two items match only when they are the same text, ignoring capitalization and surrounding spaces unless you say otherwise.
How to compare two lists
- Paste the first list into List A, one item per line.
- Paste the second list into List B.
- Choose how to match: ignore case (default) or case sensitive, and whether to normalize spaces inside items.
- Read the summary and the five result sections. Search or sort them if the lists are long.
- Copy or download the section you need, or the whole comparison.
Swap Lists exchanges the two boxes, which flips "only in A" and "only in B".
How list comparison works
Each list is split into lines. Blank lines are skipped and spaces at the start and end of each line are removed. Then every item gets a matching key:
- Unicode is normalized (NFC), so identical-looking characters typed differently match.
- Runs of spaces inside the item become one space, only if Normalize internal whitespace is on.
- The key is lowercased, unless Case sensitive is on.
The unique keys of each list are then compared as sets. Only in A is A minus B, only in B is B minus A, and in both is the overlap. Each item is shown once per section, exactly as it first appeared.
Find items only in List A
"Only in List A" lists items that never appear in List B, in the order they first appear in List A. Use it to find what's missing from the second list: customers not yet contacted, products missing from a new price list, or pages absent from a sitemap.
Find items only in List B
"Only in List B" is the reverse: items that are new in the second list, in List B's own order. Comparing an old list (A) with a new one (B), this is what was added, and only in A is what was removed.
Find common items
"In Both Lists" lists every item that appears at least once in each list, in List A's order. Each common item appears once, so repeats don't inflate the count.
Find duplicate items
Duplicates are checked within each list separately. For the list apple, banana, apple, orange, banana, the duplicates are apple (2×), banana (2×). The list has 5 items, 3 of them unique.
An item that appears once in each list is common, not a duplicate. To remove duplicates, copy the unique items from a comparison against an empty list.
Case-sensitive vs case-insensitive comparison
With the default, Ignore case, Apple in List A and apple in List B match: in both = Apple, shown as it was written in List A. With Case sensitive they don't: only in A = Apple, only in B = apple.
Use Case sensitive for codes, IDs, passwords or anything where capitalization changes the meaning.
How whitespace is handled
Leading and trailing spaces and tabs never matter, and blank lines are ignored. Spaces inside an item do: New York and New York are different items by default, and match with Normalize internal whitespace turned on. The item text itself is never changed.
Comparing large lists
Each list can hold up to 200,000 items or 2,000,000 characters. Items are looked up in a hash table rather than compared pair by pair, so the work grows in line with the list size. Results update as you type up to 200,000 characters in total; above that, press Compare Lists. Each section shows its first 1,000 items, and copy and CSV always include everything.
Example: comparing two lists
This is the tool's Load Example, and the results it produces:
| List A | List B | Result |
|---|---|---|
| apple banana orange mango | banana orange grape pear | Only in A: apple, mango Only in B: grape, pear In both: banana, orange |
Frequently Asked Questions
How do I compare two lists?
What does "only in List A" mean?
What does "only in List B" mean?
What does "in both lists" mean?
Can I find duplicates?
Does capitalization matter?
Does whitespace matter?
Can I compare lists containing numbers?
Can I compare Unicode or non-English text?
Can I compare large lists?
Does the tool preserve the original item text?
Can I download the comparison?
Is my list uploaded?
Is this list comparison tool free?
Can I compare two CSV files?
Explore more
Count how often each word appears with the Word Frequency Counter, or count words and characters with the Word Counter and Character Counter. Clean up stray spacing first with Remove Spaces. Fix capitalization before comparing with the Case Converter, build test lists with the Text Repeater, or turn items into URLs with the Slug Generator. Working with data? Try the JSON Formatter, JSON Minifier, Base64 Encoder & Decoder and URL Encoder & Decoder. Browse all our free tools.
Keep exploring
Related services
- Content MarketingMost content programs produce volume without strategy: articles that rank for nothing and convert no one.
- Digital solutions for PaymentsPayments businesses win on reliability, developer experience and trust signals. We build documentation-led si…
- Digital solutions for EducationEducation providers need to attract the right students, explain programs clearly and deliver learning online.…
- Web DevelopmentSlow, hard-to-maintain websites quietly cap growth by hurting Core Web Vitals, SEO, and conversion rate.
- WordPress DeveloperHire an experienced WordPress developer for custom builds, plugin development, theme customization and ongoin…
Guides & articles
- Your CRM Isn't a Database. It's a Growth Engine, If You Set It Up RightMost CRMs get treated as a place to store contacts after the fact. The accounts that grow fastest use theirs…
Tools
- UPSC CSE Photo & Signature ResizerResize a photo and signature to UPSC CSE's official required size: 20-300KB photo, 20-300KB signature.
- SBI Clerk Photo & Signature ResizerResize a photo and signature to SBI Clerk's official required size: 20-50KB photo, 10-20KB signature.