Remove duplicate lines

Keeps the first occurrence of each line; optional trim before compare.

Overview

Removes repeated lines while keeping the first occurrence. All local in the browser.

Tool guide

  • O que é o objeto tratado Texto multilinha (listas, logs, exports), onde cada linha é uma unidade.
  • O que a ferramenta faz Mantém só a primeira ocorrência de cada linha (com opção de ignorar espaços nas pontas na comparação).
  • Por que usar Limpar listas de e-mails, IDs ou URLs copiados de várias fontes, preparar dados únicos para importação.

Before

a
b
a
b
c → a
b
c

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.