Comparing two pasted lists starts with defining “the same”

Two lists can look different while containing the same items. A repeated entry, an empty line or an accidental space can change the answer unless the comparison rules are clear.

The free List Compare browser tool uses one fixed set of rules: trim each line, ignore blank lines, remove duplicates, compare case exactly and preserve first-occurrence order. These are deliberate choices, so it helps to understand what they discard.

Consider this synthetic Left input. The first pear has a space before and after it:

 pear 

apple
pear
Kiwi

Paste this into Right:

apple
pear
plum
kiwi

After activating Compare, the three groups are:

GroupResult, in displayed order
Only LeftKiwi
Bothpear, apple
Only Rightplum, kiwi

The surrounding spaces disappear, the blank line disappears, and the second pear contributes no extra item. But Kiwi and kiwi remain different. Internal whitespace also remains significant: an item containing one internal space does not match an otherwise identical item containing two.

Notice that Both follows Left's order, even though Right lists apple first. Only Left also follows Left; Only Right follows Right. Nothing is alphabetically sorted. Moving an item within a list changes presentation, but does not make it a new member. Duplicate counts are discarded, so this tool cannot tell you whether one list contains three copies and the other contains one.

This makes it suitable for small, exact membership checks: feature names, reference codes or proposed tags. It does not perform fuzzy matching, identify renamed items or produce an edit-by-edit document diff. If capitalization or duplicate frequency carries a different meaning in your work, these fixed rules may not fit.

Each side accepts up to 100 nonblank lines, counted before deduplication, and 10,000 raw characters using JavaScript's string-length measure. Some symbols count as more than one. Raw length is checked before trimming. Over-limit input clears previous results; editing valid input requires activating Compare again.

The comparison code runs in the browser and needs no account. The original standalone HTML contains no network calls, external libraries, tracking or persistent storage. Its saved validation report records 37 passing browser assertions in Chrome 153, including whitespace, case, ordering, limits, keyboard activation and literal handling of HTML-looking text. That local-file run used a disabled network and recorded no HTTP requests. This is evidence for that tested artifact, not a guarantee about every browser or hosting environment.

For offline use, download the free ZIP linked on the tool page, extract it and open the HTML file locally. The hosted page includes the hosting provider’s security scripts; the original HTML inside the ZIP does not.

The tool and this article were developed with AI assistance. The examples are synthetic, with no customer data or claimed customer outcomes.

Try the free List Compare tool with the example above, then check whether its definition of “same” matches your task.

Support the free tools with an optional tip.