Duplicate Line Remover

Remove duplicate lines from text and keep only unique lines.

Ad Slot
Ad Slot

Frequently asked questions

Which copy of a duplicate line does it keep?

The first one — every later repeat of that line is dropped, so the order of first appearances is preserved in the output.

What exactly does "Case-insensitive" change?

With it off, "Hello" and "hello" count as different lines. Turn it on and they're treated as duplicates, but the kept line still uses whichever capitalization appeared first.

Does it trim whitespace before comparing lines?

No — comparison is exact, so a line with a leading or trailing space is treated as different from an otherwise identical line without one.

We use cookies for analytics and to show ads that keep this site free. No personal data is sold.