Remove Duplicate Lines

Remove duplicate lines from text instantly. Keep unique lines only.

Frequently Asked Questions

What counts as a duplicate line?

Two lines are duplicates if they are identical after applying your options (trim whitespace, ignore case). The first occurrence is kept; subsequent ones are removed.

Does it preserve the original order?

Yes, by default. Enable "Sort lines" to alphabetically sort the unique results instead.

What does "Trim whitespace" do?

It strips leading and trailing spaces from each line before comparison, so " hello " and "hello" are treated as the same line.

Related Tools