Category: Text tools
List Difference Tool
Compare two lists: only in A, only in B, and shared lines
Compare two newline-separated lists and see the lines only in A, only in B, in both, and their union, with trim whitespace and ignore case options. Runs in your browser.
apple elderberry
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Reconciling two lists, an old and a new export, two spreadsheets' worth of email addresses, a before and after set of file names, comes up constantly and is tedious to do by eye. This tool treats each list as a set of lines, deduplicates within each side, and buckets every line into only in A, only in B, the intersection, or the union, so the result is one of the four views a comparison usually needs.
How to use it
- Paste the first set of items into List A and the second into List B, one item per line; each side is deduplicated before the two lists are compared line by line.
- Turn on Trim whitespace when lines carry stray leading or trailing spaces, and Ignore case when the two lists use different capitalisation for the same item.
- Switch between Only in A, Only in B, In both and Union: the first two views give the lines unique to each side, the third gives the intersection, and the fourth gives the deduplicated combined list.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I use List Difference Tool?
- Paste your first set of items into List A and your second into List B, one item per line. The two lists are compared as sets of lines, and you read the answer by switching between the Only in A, Only in B, In both and Union views.
- Which inputs and options does List Difference Tool support?
- The input is two newline-separated lists of pasted text, one item per line. There are two options: Trim whitespace and Ignore case. Each side is deduplicated first, so a line repeated within one list counts once.
- How do I view or copy the result?
- The result is shown as four views. Switch to the one you need and its lines appear in the result area, ready to select and copy. There is no export or download step in the tool.
- Is my input, file, or result uploaded?
- No. Inputs, files, settings and results stay in the browser and are not uploaded to LocalTools. The comparison happens on the page on your own device, with no server-side processing.
- What does this tool not support?
- It does one job: comparing two lists line by line and showing the four set views. There are no accounts, no cloud history or sync, no server upload or cloud processing, and no formats, algorithms or batch features beyond the ones listed on the page.