List Compare

Find what's only in A, only in B, in both, or in either list.

Runs locally · nothing uploaded
List A
List B
Only in A 0
Only in B 0
In both 0
Union 0

What it does

Paste two lists and get four results at once: items only in A, only in B, in both (intersection) and the union. Each result shows its count and can be copied or downloaded on its own. It is the quick way to answer questions like “which user IDs are missing from the export?” or “which packages do both projects reference?”.

  • Separator detection: one item per line, or comma, semicolon, tab or whitespace separated. Auto mode picks the right one per list and tells you what it chose.
  • Trim, ignore case and ignore empty items so stray spaces or capitalisation don’t create false differences.
  • Remove duplicates inside each result, with a count of the duplicates found in each input.
  • Natural sort, so item2 comes before item10.
  • Output format: one per line, comma separated, a quoted SQL IN (...) list or a JSON array, ready to paste into a query or code.

How to use it

  1. Paste the first list into List A and the second into List B (or open a file in each).
  2. Adjust the options; results update as you type.
  3. Use Copy or Download on the result you need, or Swap to switch the lists.

With ignore case on, an item is shown the way it was first written.

Privacy

Both lists are compared in your browser and stored only in local storage so they survive a refresh. Nothing is uploaded.