Skip to main content
eyunzhu

List intersection and difference

Compare two lists to find shared entries, unique entries, their union or symmetric difference, with optional text normalization.

Mode

Updates as you type or change an option


    
Processed in this browser. Nothing is uploaded or saved.

About this tool

Check which identifiers appear in both exports, which are missing from one, or which belong to either list.

How to use

Enter one item per line in each list. Choose items in both lists, all unique items, only A, only B or items in just one list. Copy or download the selected set.

Blank lines are ignored. Trimming and case handling are explicit options; case handling follows the interface language. Duplicate entries keep their first spelling and original order. An empty result means the selected set contains no items. Each input supports up to 2 MiB.

Common questions

How are duplicate lines and order handled?

Blank lines are ignored and duplicates retain their first spelling. Results preserve first-occurrence order; trimming and case folding depend on your selected options.

Which option finds entries missing from list B?

Put the reference list in A and the list to check in B, then choose entries only in A. With A containing 1 and 2, and B containing 2 and 3, that result is 1; intersection gives 2, while symmetric difference gives 1 and 3.

Comments

0
to join the discussion.
No comments yet.
Reply thread

Follow the complete conversation chronologically; each reply identifies the specific message it answers.