DevNet KitTHE EVERYDAY TOOLBENCH
Text & Productivity · Local-first

List Compare Online

Compare two line lists with intersection, union and side-only set operations.

Open List Compare

Free · No sign-up · Browser-based processing

What List Compare does

Compare newline-delimited lists while preserving first-seen order. Empty lines are ignored and duplicate values are collapsed. The report includes the intersection, union, values only in A and values only in B, which makes environment, inventory and identifier comparisons easier to audit.

Common uses

  • Compare deployment inventories
  • Find missing IDs between exports

How to use List Compare

  1. Paste the first list into Input.
  2. Paste the second list into Options.
  3. Run comparison and copy the section you need.

Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.

List Compare example

Try the tool with this representative input:

alpha
beta
gamma

Options

beta
gamma
delta

Expected result

Intersection contains beta and gamma; alpha is only in A and delta is only in B.

List Compare FAQ

Is matching case-sensitive?

Yes. This avoids silently merging identifiers whose case may be meaningful.

Are duplicate lines retained?

No. Set operations use each exact nonempty line once.

Find IDs missing from one export without changing their case

Paste one identifier per line into each list field. The tool trims the beginning and end of each line, ignores empty lines and collapses repeated exact values. Matching remains case-sensitive, so A-001 and a-001 are different identifiers.

Read ONLY IN A for values missing from the second export, and ONLY IN B for values missing from the first. INTERSECTION contains shared values. UNION keeps first-seen values from A, then adds previously unseen values from B; the report is not alphabetically sorted.

Worked example

Input and settings:

 A-001 
A-002
A-002
a-003

Options:

A-002
A-003
A-004

Expected result or interpretation:

INTERSECTION (1)
A-002

ONLY IN A (2)
A-001
a-003

ONLY IN B (2)
A-003
A-004

UNION (5)
A-001
A-002
a-003
A-003
A-004

Questions about this workflow

How are whitespace, duplicates and letter case handled?

Leading and trailing whitespace is removed, blank lines are ignored and duplicate exact values collapse. Matching is case-sensitive, so differently cased identifiers remain distinct.

Is the union sorted alphabetically?

No. It preserves the first occurrence of each value in A, then appends values found only in B in their original first-seen order.

Continue this workflow