GlobalUso gratuito

Comparar listas de texto

Encuentra líneas únicas comunes o exclusivas de cada lista.

Tus datos permanecen en esta pestaña. No recibimos archivos, textos ni valores de cálculo.

Entrada

Consejo: Ctrl + Intro para ejecutar

Tu resultado

Tu resultado aparecerá aquí.

Por ahora, la ayuda detallada de abajo solo está disponible en inglés.

Acerca de esta herramienta

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.

Cómo usarla

  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.

Cómo funciona el cálculo

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.

Ejemplo práctico

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.

Entrada y resultado de ejemplo

A ∩ B; A − B; B − A

Limitaciones

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

Última actualización:

Preguntas frecuentes

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.

Solución de problemas

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.

Privacidad & Uso gratuito

¿Se guardan mis datos?

Tus datos permanecen en esta pestaña. No recibimos archivos, textos ni valores de cálculo.

¿Esta herramienta es gratis?

Sí. No requiere registro ni pago.

Procesado en tu navegador

Otras herramientas útiles