Data Tools / List Comparison

List Intersection

Compare two lists and instantly find values that appear in both. Find shared IDs, URLs, keywords, spreadsheet values and other matching data directly in your browser.

  • Free
  • No signup
  • No ads
  • Runs locally
List intersection workspaceUpdates as you type
0 values • 0 unique • 0 duplicatesFirst list

Auto detects line breaks and common separators.

0 values • 0 unique • 0 duplicatesSecond list

Auto detects line breaks and common separators.

Unique mode returns one result per shared value. Preserve repeated matches uses the smaller occurrence count across both lists.

Paste two lists above to find their shared values.

Your lists stay in your browser. DevBinly finds shared values locally with JavaScript. Your pasted data is not uploaded to our server.

Independent and ad-free

Saved you some time? ☕

DevBinly is free, has no display ads and this tool finds shared values locally in your browser. If it helped, you can support continued development.

Buy Me a Coffee
Quick guide

How to Find Common Values Between Lists

  1. Paste your first set of values into List A.
  2. Paste the second set into List B.
  3. Choose automatic detection or set each list separator manually.
  4. Use exact or case-insensitive matching, then choose unique or repeated matches.
  5. Review the shared values and copy or download your result.
Practical example

Matching Database IDs

List A
1001
1002
1003
1004
1005
List B
1002
1003
1005
1006

Values in both: 1002, 1003, 1005.

What Is List Intersection?

The intersection of two lists includes the values they share. For example, if A = 1, 2, 3 and B = 2, 3, 4, the intersection is 2, 3. Unique mode shows each shared value once, even if it appears repeatedly.

Find Matching Excel or Google Sheets Values

Copy columns of customer IDs, order numbers, email addresses, or product SKUs from two spreadsheets. Paste one in each panel to find values present in both, without uploading the files or editing the original sheets.

Find IDs Shared Across Database Results

Compare IDs from different queries, two databases, or production and staging environments. When you need a query filter for matched IDs, open the SQL IN Clause Generator.

Find URLs Shared Between Lists

Check sitemap URLs against crawl or indexing exports, examine redirect migrations, or find overlapping backlinks. Use exact matching when URL capitalization matters in your workflow.

Find Keywords Shared Between Lists

Identify terms that occur in two research exports, PPC keyword lists, or Search Console datasets. For items missing from either list, see List Difference.

Intersection vs Difference and Compare Two Lists

List Intersection returns shared values. List Difference finds values not shared. Compare Two Lists provides a broader comparison with both categories and duplicate reporting.

Common questions

List Intersection FAQ

Quick answers about finding values shared by two lists.

What is the intersection of two lists?

The intersection is the set of values that appear in both lists. Unique intersection returns each shared value once.

How do I find matching values between two lists?

Paste your values into List A and List B. DevBinly automatically calculates the shared items, which you can copy or download.

Can I compare two Excel or Google Sheets columns?

Yes. Copy each column from your spreadsheet and paste it into the two input boxes.

Can I compare comma-separated lists?

Yes. Auto detect recognizes commas, new lines, tabs, semicolons, and pipes. You can also choose separate custom delimiters.

Can I ignore capitalization differences?

Yes. Case-insensitive comparison treats Apple and apple as matching, but displays the original List A value.

How does Preserve repeated matches work?

Repeated matches appear the minimum number of times they occur in both lists. Three Apple entries in List A and two in List B produce two Apple entries in the result.

Can I copy the common values as comma-separated text?

Yes. Choose Comma or Comma + space as the result separator before copying.

Can I remove duplicates before comparing?

Unique intersection ignores repeated occurrences. For more cleanup options, use Remove Duplicate Lines.

Does DevBinly upload or store my lists?

No. Intersection is calculated locally in your browser. The tool does not save your lists in localStorage. The Privacy Policy explains general website practices.

Can I compare large lists?

Yes, within practical device/browser limits. Set and Map operations keep the main comparison efficient.