Skip to content

Remove duplicate lines from a list

Remove repeated lines from a list or text, keeping only the first occurrence of each line and the original order.

Processed on your device. Nothing is sent to any server.

Compares each line exactly (case and whitespace sensitive) and discards repetitions after the first occurrence.

Use cases

  • Cleaning up a list of duplicate emails.
  • Deduplicating a list of URLs.
  • Removing repeated entries from a CSV pasted as text.

How it works

  1. 1

    Paste your list

    Type or paste the list with repeated lines on the left.

  2. 2

    Copy the result

    The deduplicated list appears automatically on the right.

Technical details

  • The first occurrence of each line and the original order are kept; nothing is sorted.
  • The comparison is exact: "ana@mail.com" and "ana@mail.com␣" (with a trailing space) count as different lines. If you suspect stray spaces, clean them up first.
  • Blank lines count too: only the first one is kept, so paragraphs separated by blank lines end up joined.

Frequently asked questions

Is it case-sensitive?

Yes, the comparison is exact: 'Example' and 'example' are treated as different lines.

How do I remove duplicates ignoring case?

Convert the whole text to lowercase first with the lowercase converter, then remove duplicates. Keep in mind the result will be lowercase.

← Text