Herramientas de texto

Eliminar líneas duplicadas

Elimina líneas repetidas de una lista.

Eliminar líneas duplicadas

Impulsado por UtilBrix

Tus datos permanecen en tu navegador. No necesitas una cuenta. Character counts use Unicode code points. Reading: 200 words/minute. Speaking: 130 words/minute.

Los métodos detallados y ejemplos están disponibles en inglés.

Step-by-step instructions (English)

  1. Paste a list with one entry per line.
  2. Choose whether to trim edges, ignore case, discard blank lines, and preserve the first or last occurrence.
  3. Run the tool and compare the remaining entries with the original list.

Fórmula y método

Lines are compared after optional trimming and case normalization. Preserve first keeps the earliest occurrence; preserve last keeps the final one in its original relative order. Ignoring empty lines removes them from the output.

Ejemplo práctico

Apple, apple, and Banana on separate lines become Apple and Banana when Ignore case and Preserve first are selected.

When this tool is useful

Clean a list of repeated labels, URLs, or identifiers while keeping a chosen occurrence order. Decide whether case and edge spaces are meaningful before treating two lines as duplicates.

Common mistakes and limitations

  • Ignoring case can merge identifiers that a receiving system treats as distinct.
  • The comparison covers the whole line; matching one column of a CSV requires a separate column-aware process.

Practical questions about this tool (English)

Will removing duplicates sort the list?

No. Deduplication retains the relevant original order. Use Sort Lines afterward if alphabetical or numerical ordering is also needed.

What is the difference between preserving first and last?

Preserve first retains the earliest occurrence. Preserve last retains the final occurrence and its relative position among the surviving lines.

Put this tool into practice

Otras herramientas útiles

Instalar UtilBrix

Accede a tus herramientas desde la pantalla de inicio.

  1. Abre el menú del navegador (⋮).
  2. Elige «Instalar aplicación» o «Añadir a pantalla de inicio».
  3. Confirma para añadir UtilBrix a tu pantalla de inicio.

Si falta esta opción, abre la página en Chrome para Android.

Buscar herramientas

↑ ↓ Navigate · Enter Open · Esc Close