Herramienta para eliminar líneas duplicadas online gratuita
La herramienta Eliminar líneas duplicadas suprime las líneas repetidas de tu lista, conservando cada entrada solo una vez. Opcionalmente ignora mayúsculas y conserva la última aparición en lugar de la primera.
Deduplication is usually the middle step of a cleanup pass — Sort Lines groups the repeats together, Remove Empty Lines clears the blanks, and Remove Extra Spaces & Line Breaks tidies the whitespace that would otherwise hide a match.
Cómo usar Quitar duplicados
- 1 Paste your list into the input area — one entry per line is the expected format.
- 2 Decide whether matching should be case-sensitive, and whether surrounding whitespace should be trimmed before comparing.
- 3 Choose to keep either the first or the last occurrence of each duplicate.
- 4 Copy the deduplicated list, or the count of removed lines, from the output panel.
Cómo usarlo
Pega una lista con un elemento por línea y haz clic en Eliminar duplicados. La herramienta informa de cuántos duplicados se eliminaron y muestra la lista limpia.
- Insensible a mayúsculas: "Apple" y "apple" cuentan como duplicadas
- Conservar la última aparición: retiene la instancia final de cada línea
- Las líneas en blanco se conservan tal cual
Preguntas frecuentes
How does the tool decide which lines are duplicates?
Two lines are duplicates when they are byte-for-byte identical after the comparison rules you selected have been applied. If you enable trimming, "apple " and "apple" match; if you enable case-insensitive matching, "Apple" and "apple" match too. This matters because a list merged from two sources often differs only in trailing spaces.
Does removing duplicates change the order of my list?
No, the surviving lines keep their original positions. The tool scans top to bottom and drops a line only when an earlier one already claimed that value, so the result reads in the same sequence as the input with repeats deleted. Reordering is a separate operation and is left to you.
Why did the duplicate count look wrong?
Because the count reports removed lines, not unique values. A list of "a, a, a" removes two lines and keeps one, so a small count on a visibly repetitive list is usually correct. Switch on whitespace trimming if lines that look identical to you are being treated as distinct, since an invisible trailing space is the usual culprit.