ToolCabana

Eliminar líneas duplicadas

Elimina líneas repetidas con coincidencia opcional de mayúsculas.

Favorites are saved in this browser. Find them in My favorites.

Eliminar líneas duplicadas

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Cómo usar Eliminar líneas duplicadas

Remove Duplicate Lines deletes repeated lines from a list and keeps the first copy of each in its original order. Matching is case-sensitive by default; you can switch that off, trim spaces from line edges before comparing, drop empty lines, or keep the last occurrence of each line instead of the first.

  1. Escribe o pega tu fuente, o carga un ejemplo.
  2. Cambia los ajustes básicos o abre el modo avanzado para afinar el resultado.
  3. Revisa y copia o descarga tu resultado. Pausa los resultados en vivo para ejecutar manualmente. Las fuentes o ajustes individuales de más de 20,000 caracteres requieren una ejecución explícita.

Qué admite esta herramienta

Elimina líneas repetidas con coincidencia opcional de mayúsculas.

Recortar bordes de línea
Set this value for your task.
Distinguir mayúsculas
Set this value for your task.
Conservar líneas vacías
Set this value for your task.
Conservar la última ocurrencia
Set this value for your task.

Límites y procesamiento

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.

Fuente de ejemplo
Hello world.
A second line.
Café, İstanbul, 日本語, and 👨‍👩‍👧‍👦.

Preguntas frecuentes

How do I remove duplicate lines while ignoring uppercase and lowercase?

Turn off Match case. Lines that differ only in capitalization are then treated as duplicates, and the copy that is kept retains its original casing. With Match case on, Apple and apple both stay in the list.

Why are lines with trailing spaces not removed as duplicates?

By default lines are compared exactly, so an extra space at the end makes them different. Enable Trim line edges to strip leading and trailing whitespace before comparing; the trimmed versions are what appear in the output.

Can I keep the last occurrence of a duplicate line instead of the first?

Yes. In Advanced mode, enable Keep the last occurrence. Each repeated line then stays at the position of its final appearance, and the remaining lines keep their relative order.

¿Dónde se procesa mi entrada?

Esta operación procesa su fuente en tu navegador. Copiar y descargar son acciones explícitas; la entrada de origen no se guarda en una cuenta ni en un historial.

¿Cuáles son los límites de entrada?

Las operaciones de texto aceptan generalmente hasta 2,000,000 caracteres. Los analizadores, generadores y fórmulas individuales aplican límites adicionales que muestran sus controles.