Remove duplicate lines
Clean up lists by keeping only the first copy of each line.
Free · No sign-up · No login · No install · No watermark
How to use
- Paste your list, one item per line.
- Pick options such as ignoring case or sorting.
- Copy or download the cleaned list.
Remove duplicate lines
The first occurrence of each line is kept in its original position, and later copies are removed. The result shows how many duplicates were removed.
Frequently asked questions
Which copy is kept?
The first one. Later duplicates are removed.
Can it sort the result?
Yes, A to Z or Z to A. Otherwise the original order is kept.
Is my text sent anywhere?
No. Everything runs in your browser.
More Text Tools
Word CounterCount characters, words and linesChinese ConverterSimplified ⇄ Traditional ChineseFull/Half-widthConvert full-width and half-width textCase ConverterUPPER, lower, Title, camelCase, snake_caseWord Cloud GeneratorTurn text into a word cloud image
📖 Guide:Fix garbled Chinese when opening a CSV in Excel · Text Tools ›