Skip to content

Remove duplicate lines

Remove repeated lines from a list and keep the first occurrence, with case and whitespace options.

AvailableIn your browserInput: Text

How to use: Remove duplicate lines

  1. Paste the list, one entry per line.
  2. Decide whether to be case sensitive, ignore spaces and keep empty lines.
  3. Copy the de-duplicated list.

What it accepts and what you get

Input
Text with one entry per line.
Output
The list with the first occurrence of each line and the number of duplicates removed.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • The original order is kept.
  • Empty lines are not treated as duplicates of each other if you choose to keep them.

Suggested next steps