Remove Duplicate Lines
Delete repeated lines, empty lines, and sort lists.
Free
Runs in your browser
About this tool
Remove Duplicate Lines cleans up lists of emails, keywords, names or URLs. It keeps the first copy of each line and can also trim spaces, remove blank lines and sort.
How to use Remove Duplicate Lines
- Paste your list, one item per line.
- Pick options like “Ignore case” or “Sort A–Z”.
- Copy the cleaned list.
Questions people ask
Which copy of a duplicate is kept?
The first time a line appears is kept. Later copies are removed.
What does “Ignore case” do?
It treats “Apple” and “apple” as the same line.
Is there a size limit?
It handles hundreds of thousands of lines on a normal computer.
More text tools
See all 19 →
Text CompareFind the differences between two texts line by line.
Lorem Ipsum GeneratorPlaceholder paragraphs, sentences or words for designs.
Find and ReplaceReplace words or regex matches in any text.
Text SorterSort lines A to Z, by length, by number or shuffle.
Remove Line BreaksJoin broken lines into clean paragraphs.
Text CleanerRemove extra spaces, HTML, emojis and smart quotes.