Remover linhas duplicadas
Remova linhas repetidas com distinção opcional entre maiúsculas e minúsculas.
Remover linhas duplicadas
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.
Como utilizar Remover linhas 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.
- Escreva ou cole o seu texto, ou carregue um exemplo.
- Altere as definições básicas ou abra o modo avançado para ajustar o resultado.
- Verifique e copie ou descarregue o resultado. Coloque os resultados em direto em pausa para executar manualmente. Textos ou definições individuais com mais de 20,000 caracteres exigem uma execução explícita.
O que esta ferramenta permite
Remova linhas repetidas com distinção opcional entre maiúsculas e minúsculas.
- Remover espaços nas extremidades das linhas
- Set this value for your task.
- Distinguir maiúsculas de minúsculas
- Set this value for your task.
- Manter linhas vazias
- Set this value for your task.
- Manter a última ocorrência
- Set this value for your task.
Limites e processamento
As operações de texto geralmente aceitam até 2,000,000 caracteres. Cada analisador, gerador ou fórmula aplica limites adicionais apresentados nos respetivos controlos.
Exemplo de entrada
Hello world. A second line. Café, İstanbul, 日本語, and 👨👩👧👦.
Perguntas frequentes
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.
Onde é processado o meu texto?
Esta operação processa o texto no seu navegador. Copiar e descarregar exigem uma ação explícita; o texto introduzido não é guardado numa conta nem no histórico.
Quais são os limites de entrada?
As operações de texto geralmente aceitam até 2,000,000 caracteres. Cada analisador, gerador ou fórmula aplica limites adicionais apresentados nos respetivos controlos.