PDFPowerHub

Compare Two Lists

beta

Paste two lists and compare them line by line with set operations — merge and remove duplicates, subtract one list from the other, find the lines they share, spot what is unique to one side, or list duplicates. It runs entirely in your browser, so your data is never uploaded.

Compare two lists of lines and combine them with set operations — merge and dedupe, subtract one from the other, find what they share, and more. Everything runs in your browser; nothing is uploaded.

All unique lines from both lists (A ∪ B)

Options
Result · 0 lines

How to use Compare Two Lists

  1. 1 Paste your first list into List A and your second into List B (one item per line).
  2. 2 Pick an operation: Merge & dedupe, In A not B, In B not A, Common to both, In only one, or Duplicates.
  3. 3 Toggle options as needed — ignore case, trim whitespace, ignore blank lines, or sort the result.
  4. 4 Copy the result or download it as a .txt file.

Frequently asked questions

What can I do with two lists?

Merge them and remove duplicates (union), remove one list’s lines from the other (difference), keep only the lines they have in common (intersection), keep lines that are in just one list (symmetric difference), or list lines that appear more than once.

Is my data uploaded?

No. All comparison happens in your browser with JavaScript. Your lists never leave your device, so it is safe for private or sensitive data.

Can it ignore case and extra spaces?

Yes. Turn on “Ignore case” to match regardless of capitalisation and “Trim whitespace” to ignore leading and trailing spaces when comparing. You can also ignore blank lines and sort the output.

Are duplicates removed from the result?

Yes — every operation returns a de-duplicated list, preserving the first occurrence of each line and its original text.