# Eliminar líneas duplicadas

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

[Open tool](https://www.toolcabana.com/es/deduplicate-lines) · [Texto y redacción](https://www.toolcabana.com/es/category/text-and-writing)

Tool ID: deduplicate-lines. Requested language: es. Description language: es. Complete guide translation: yes.

## Overview (en)

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.

## Supported tasks (es)

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

## Steps (es)

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.

## Settings

- Recortar bordes de línea (es; key: trim; type: checkbox)
- Distinguir mayúsculas (es; key: caseSensitive; type: checkbox)
- Conservar líneas vacías (es; key: keepEmpty; type: checkbox)
- Conservar la última ocurrencia (es; key: keepLast; type: checkbox)

## Limitations (es)

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.

## Example input

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

## Privacy and connections (es)

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.

## Questions (es)

### 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.

## Related tools

- [Sort lines alphabetically](https://www.toolcabana.com/es/sort-lines)
- [Reading time calculator](https://www.toolcabana.com/es/reading-time)
- [Remove line breaks](https://www.toolcabana.com/es/remove-line-breaks)
- [Character counter](https://www.toolcabana.com/es/character-counter)
