Text List Compare

Compare two line-separated lists. Find intersection, union, left-only, right-only or symmetric differences without uploading text.

How to use

Place one item on each line. Intersection returns items in both lists; A − B returns items only in A. Union combines both; symmetric difference excludes shared items. Empty lines are ignored and duplicate items appear once.

Output follows first appearance in A, then B when needed. Case-insensitive comparison uses Unicode lowercase conversion and preserves the first original spelling. It is not locale-specific collation or accent folding.

Behavior and limits

Use this to reconcile product codes, URLs, subscriber exports or translation keys. Unlike a line-by-line diff, this compares membership, so changing line order alone does not count as a difference.

Questions & answers

Why are repeated lines removed?

These operations use sets. If you need occurrence counts or duplicate frequency, use a frequency analysis tool instead.

Is my input uploaded?

No. Processing runs in your browser. This tool does not send your input to an API or save it in local storage. Text tools accept up to 200,000 characters.

Other Languages

Text List Compare — Base64.sh

Text List Compare

Compare two line-separated lists. Find intersection, union, left-only, right-only or symmetric differences without uploading text.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Check line splitting, sorting, duplicates, case options and set union/intersection/difference.
Comparison reference
Explicit input and expected output lists.
Verification scope
These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)
  • workbench.test.js
    • list comparison preserves first spelling and implements set operations

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.