GlobaleGratuito

Confronta elenchi di testo

Trova le righe esatte comuni a due elenchi o presenti in uno solo.

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Dati

Suggerimento: premi Ctrl + Enter per eseguire

Il tuo risultato

Il risultato apparirà qui.

Per ora la guida dettagliata qui sotto è disponibile solo in inglese.

Informazioni su questo strumento

Which customers are on last month’s list but not this month’s? Which product codes are in the warehouse export but missing from the store? This tool compares two lists of lines and shows three groups: lines in both, lines only in the first list and lines only in the second. Each group lists unique lines once.

Matching is exact, so prepare both lists the same way (same case, no stray spaces) for reliable results.

Come si usa

  1. Paste the first list, one item per line.
  2. Paste the second list in the second box.
  3. Run the comparison.
  4. Copy whichever group you need: common items, items only in the first list or only in the second.

Come funziona il calcolo

Each list is reduced to its set of unique lines. The output shows the intersection, the first set minus the second, and the second set minus the first, each in the order of first appearance.

Esempio pratico

List A has ana@x.com, bo@x.com and cy@x.com; list B has bo@x.com, dee@x.com and ana@x.com. The comparison shows 2 common lines (ana@x.com and bo@x.com), cy@x.com only in the first list and dee@x.com only in the second.

Esempio di input e risultato

A ∩ B; A − B; B − A

Limiti

  • Exact line matching only.
  • Duplicates within a list are shown once.
  • Up to 100,000 characters per list.

Ultimo aggiornamento:

Domande frequenti

Is the comparison case-sensitive?

Yes. Convert both lists to lowercase first if case should not matter, as with email addresses.

Does the order of the lists matter?

Only for which group is called "first" and "second". The common items are the same either way.

How is this different from a diff checker?

A diff checker shows changes in order within a document. This tool treats each list as a set and ignores order.

Risoluzione dei problemi

Items that look identical are reported as different.

Check for trailing spaces, different capitals or invisible characters from spreadsheets.

Everything is "only in" one list.

One list may use a different separator, such as commas on one line. Put one item per line.

Numbers like 007 and 7 do not match.

They are different text. Format both lists the same way first.

Privacy & Gratuito

I miei dati vengono salvati?

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Questo strumento è gratuito?

Sì. Non servono registrazione né pagamento.

Elaborato nel tuo browser

Passi successivi utili