Remove duplicate text lines

Keep the first occurrence of each line, with options to ignore letter case or keep blank lines. Tidy a list without uploading it.

Your text stays in this browser tab. It is not uploaded or saved by these tools.

For smooth editing, each field accepts up to 100,000 characters.

How to use this tool

Clean repeated labels, reading lists, or pasted notes. The first version of each matching line is retained in its original order. Spaces at the start and end are ignored when comparing; the retained line itself is left as written.

  1. Paste one entry per line.
  2. Choose whether matching ignores letter case and whether empty lines stay.
  3. Review the cleaned list and copy or download it.