Text & String Utilities100% Client-Side

Find Items Present in Both Lists

Paste two line-separated lists to see which entries appear in both. The tool compares each item from the first list with the entries in the second. It returns matching items in first-list order and uses their spellings from that list. Case Sensitive controls whether capitalization affects matching. This is useful for reviewing overlap between two sets of labels or exported values.

Configuration Options
Input
42 chars•7 lines
Output

How to Use the Find Common Items in Two Lists Online

  1. 1Paste the first list with one value per line.
  2. 2Add a line containing three hyphens and paste the second list.
  3. 3Enable Case Sensitive when capitalization should distinguish items.
  4. 4Check the returned matches, which are spelled as they appeared in the first list.

Input & Output Examples

With Case Sensitive off, both spellings match. An exact repeat of Red is shown just once.

Input Sample
Red
red
Red
blue
---
red
green
Expected Output
Red
red

With Case Sensitive on, Lake and lake differ. The other matches follow the order from the first list.

Input Sample
Lake
RIVER
Hill
---
lake
Hill
RIVER
Expected Output
RIVER
Hill

Practical Developer Workflows

  • Find tags shared by two draft collections.
  • Compare label lists from two exports with different ordering.
  • Build an overlap fixture that tests whether differently capitalized values should count as matches.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The first list does. With Case Sensitive off, Red in the first list can match red in the second, and Red is displayed. Swapping the two lists can therefore change the spelling and order of the visible results.

Explore Other Tools

12 suggested tools

View all tools