Compare two lists

See which items appear in both lists and which are unique to each.

Text Stateless

Put one item per line, up to 1,000 in each list. Blank lines and surrounding spaces are ignored, duplicates collapse, and uppercase and lowercase remain distinct.

Quick guide

Try an example

You enter

First list
A
B
C
Second list
B
D

You get

Only in the first list
A
C
In both lists
B
Only in the second list
D
How it works & limits

Put one item per line, up to 1,000 in each list. Blank lines and surrounding spaces are ignored, duplicates collapse, and uppercase and lowercase remain distinct.

Related tool

List randomizer