Report a problem

TEXT TOOL

Remove Duplicate Lines

Remove repeated lines from text while keeping the first occurrence.

Remove Duplicate Lines

FREE ONLINE TOOL

WHEN IT HELPS

Common uses

  • Clean a list of names or URLs.
  • Remove repeated entries from copied spreadsheet data.

IN PRACTICE

Example

Apple, Banana, Apple becomes Apple, Banana when each item is on its own line.

GOOD TO KNOW

Does it change line order?

No. The first occurrence of each line keeps its original position.

Whitespace at the start and end of a line is ignored when comparing, and blank lines are removed.