Remove Duplicate Lines
Keep the first occurrence of each repeated line. No uploads, no account, no cost.
How to remove duplicate lines
Paste your text into the left box, click Remove Duplicate Lines, then copy the result from the right box.
What this tool does
Repeated lines are compared without regard to capitalization or spaces at their ends. The first matching line is kept.
All processing happens in your browser. Check the cleaned result before using it in an important document.
More free text tools
Get rid of repeated spaces, tabs, and unnecessary whitespace.
Remove Line BreaksTurn pasted lines into one continuous paragraph.
Clean PDF TextRepair common spacing, hyphenation, and wrapped lines from PDF copying.
Fix CapitalizationConvert text to sentence case in one click.
Sort Lines AlphabeticallyPut a list into alphabetical and natural number order.
Number a ListAdd sequential numbers to nonempty list items.
Remove PunctuationStrip punctuation and symbols from pasted text.