Compare two lists
Find shared entries, items only in A or B, and a combined list.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Compare two plain-text lists, one item per line. See A-only, shared and B-only groups with each preview item's first source line, so you can find it in the original list.
How to use this tool
- Paste list A or choose a UTF-8 file, then paste list B. Put one item on each line.
- Choose the output group and decide whether case and surrounding spaces should match.
- Inspect all three groups and first source lines, then copy a complete group or download the selected TXT.
Supported inputs and limits
Paste up to 1 MiB per list or choose one UTF-8 file for A (up to 10 MiB); each list is limited to 50,000 lines.
Blank lines and duplicates are skipped. This compares whole lines, not CSV columns, Excel workbooks or fuzzy names, and does not highlight the original sheet.
All processing happens in this browser; no account or upload.
Worked example
Example input
alpha beta
Example options
{"operation":"intersection"}Example output
beta
When something does not work
Paste up to 1 MiB per list or choose one UTF-8 file for A (up to 10 MiB); each list is limited to 50,000 lines.
Frequently asked questions
Which direction is difference?
A only means in A but not B; B only means in B but not A. “Only in either” joins both without shared items.
How are blanks and duplicates handled?
Blank lines are ignored. Each list is deduplicated by the selected matching rules and keeps its first occurrence. Shared and combined results use A’s spelling; B-only entries use B’s.
Can I compare CSV columns or similar names?
No. Each physical line is one item; extract the needed column first. The tool does not highlight an original workbook or match similar spellings.
Is my input sent to a server?
No. Both lists are processed in your browser. Temporary drafts stay in this tab and are lost when you refresh or close it.
Documentation & further reading
Related tools
Convert text encoding
Choose the right text encoding and save a readable TXT file.
Merge text files
Put several text files together in the order you choose.
Word counter
Words, characters, and paragraphs at a glance.
Case converter
Change letter case to suit your text.