FREE WEB TOOL

List intersection tool

Extract lines that appear in both lists.

Use tool

How to use it

Extract only the values that appear in both one-item-per-line lists. It is handy for matching attendee lists, recipient lists or other exact-ID sets.

  1. Paste one item per line into List A and List B.
  2. Select Extract.
  3. Review the values that exist in both lists.
Comparison
Line by line
Outer whitespace
Trimmed before comparison
Blank lines
Ignored
Duplicates
Collapsed to one value

Keep only the overlap between A and B

If A contains apple / banana and B contains banana / orange, the result is only banana.

Result order follows List A. Comparison is case-sensitive.

Intersection means membership in both sets

It is similar to the simplest form of an inner match: only lines that are exactly present in A and B survive. That makes it useful for exact IDs or normalized names.

Outer whitespace is removed

Leading and trailing spaces are stripped before comparison. Spaces inside the string are preserved, so A B and AB remain different values.

Duplicate counts are not preserved

Even if a value appears three times in A and twice in B, it appears once in the output. The tool compares set membership rather than frequency.

Spelling variants are not normalized

Case, full-width/half-width characters and different dash characters are still different strings. Normalize the source lists first when you need fuzzy or name-matching behavior.