Remove Duplicate Lines
Keep each line once and remove the repeats. The order stays the same.
Your text stays on your device. Nothing is sent anywhere.
Your text
Result
Keep each line once and remove the repeats. The order stays the same.
How to remove duplicate lines
- 1Paste your list, one item per line.
- 2Choose whether to ignore capitals and spaces.
- 3Copy the list. The count shows how many repeats were removed.
Questions
Is my text private?
Yes. Everything happens inside your browser. Your text is never sent to a server or saved anywhere.
Which copy is kept?
The first one. Later repeats are removed, and the order of your list stays the same.
Are "Apple" and "apple" the same?
With "Ignore capitals" on, yes. Turn it off to treat them as different lines.
Can I also sort the list?
Yes. Copy the result into our Sort Lines tool.
Is it free?
Yes. It is free with no signup and no limits.
More Text tools
See allCase ConverterChange text to UPPER, lower, Title or Sentence case.Remove Line BreaksJoin broken lines, like text copied from a PDF.Clean Up TextRemove extra spaces, empty lines and stray formatting.Find and ReplaceReplace words or patterns everywhere at once.Sort LinesSort a list A to Z, by number or by length.Citation GeneratorCite websites, articles, books and videos in APA, MLA, Chicago, Harvard or IEEE.