Text

Duplicate Line Remover

Clean up any list by removing duplicates. Configurable case sensitivity, whitespace trimming and sort order.

Keep:

Frequently asked questions

What is the difference between "first occurrence" and "uniques only"?

"First occurrence" keeps the first appearance of each line. "Uniques only" keeps only lines that appear exactly once.

Does case matter?

By default yes — "Apple" and "apple" are different. Toggle the case-insensitive option to treat them as duplicates.

Are leading/trailing spaces ignored?

Yes by default — the trim option is on so " apple " and "apple" are treated as duplicates. Disable it to keep spaces.

Related tools