Text Line Comparer

Paste two lists and click Compare.

How to use the Text Line Comparer

Paste your first list into List A and the second into List B, with one item per line. Choose whether to ignore case, trim extra spaces and skip empty lines, then click Compare. The tool shows which lines appear only in A, which appear only in B, and which appear in both. Each group can be copied separately. Everything runs locally in your browser.

Example: comparing two short fruit lists

If List A is apple, banana, cherry and List B is banana, cherry, date, the result is: only in A is “apple” (removed), only in B is “date” (added), and “banana” and “cherry” are in both.

What the options do

Lists people compare most often

Frequently asked questions

Does it compare line order?
No. It checks whether each line exists in the other list, regardless of position. Duplicates are reported once.

Does it show changes inside a line?
No. It treats each line as a whole, so a line with one changed word appears as removed in A and added in B.

Is my data uploaded?
No. The comparison happens in your browser.

Real-world workflows

The comparer is most useful when two exports of “the same” data drift apart over time. Here are three common jobs and how to do each one cleanly.

1. Finding new and lost subscribers

Export last month’s email list and this month’s list, copying only the email column from each. Paste the old list into List A and the new list into List B, and tick Ignore case, because Asha@Example.com and asha@example.com are the same mailbox. “Only in B” now shows new subscribers, and “Only in A” shows people who unsubscribed or bounced.

2. Checking a price list or inventory

Compare product codes (SKUs), not product names. Names get edited (“Blue Shirt M” becomes “Shirt, Blue, Medium”) and would show as removed and added even though nothing changed. Codes stay fixed, so the result shows only genuinely new or discontinued items. Leave Ignore case off if your codes are case sensitive.

3. Auditing website URLs or keywords

Paste the URLs from your sitemap into List A and the URLs from an analytics or search report into List B. “Only in A” lists pages that received no visits in that report, which are candidates for improvement or removal. Before comparing, make the URLs consistent: decide whether they include https://, the domain and a trailing slash, because /blog and /blog/ are different lines.

Getting a column out of a spreadsheet

Select the cells in a single column in Excel or Google Sheets and copy them. Each cell pastes as its own line, which is exactly the format the comparer expects. If you need to compare rows that combine several fields, create a helper column first, for example =A2&"|"&B2, and copy that.

Need both lists in the same case before comparing? Run each one through the Text Case Converter first.

Limitations

The comparer reports exact line matches and does not perform semantic or fuzzy comparison. Very large lists may be slow on older devices. See our Disclaimer and Privacy Policy. Browse the full tools directory. Related tools: Word & Character Counter, JSON Formatter & Validator.

Learn more: read our Writing Guides, articles on word limits, text case and comparing lists.