Duplicate line remover
Remove repeated lines of text, optionally ignoring case and surrounding whitespace, while preserving the first occurrence.
Local processing · No uploads · Up to 5,242,880 text code units
Input text
Result
Remove duplicate lines
Paste a list and choose whether matching should ignore case or surrounding whitespace. The first occurrence is retained in its original form, and the original order is preserved. Blank lines can be removed separately. This is exact matching after the selected normalisation, not fuzzy matching.
Related tools
Portrait background remover · Professional photo maker · Text case converter · Word counter · Privacy notice