List Compare

Compare two lists as sets — find the items only in A, only in B, in both, and the combined union, with options to trim, ignore case, and skip blank lines.

Only in A 2
apple
date
Only in B 2
fig
grape
In both 2
banana
cherry
Union (all, deduped) 6
apple
banana
cherry
date
fig
grape