Remove Duplicate Lines
Paste one item per line. The first copy of each line is kept and the rest are removed.
How to remove duplicate lines
- Paste your list with one item on each line.
- Choose whether capital letters should be ignored and whether spaces around each line should be trimmed.
- Press Remove duplicates and copy the cleaned list.
Good to know
The first copy of every line is kept and later copies are removed, so your order stays the same. The tool does not sort the list. Empty lines count as lines too, which means only the first empty line is kept.
This is useful for cleaning email lists, keyword lists, URLs, product codes and names copied from several sources. Turn on “Ignore upper/lowercase” if “Apple” and “apple” should count as the same item.
Frequently asked questions
Which copy of a duplicate is kept?
The first time a line appears it is kept. Later copies are removed and the order stays the same.
Can I ignore capital letters?
Yes. Check “Ignore upper/lowercase” so “Apple” and “apple” count as the same line.
More free tools
TextCase ConverterConvert text to lowercase, UPPERCASE, Sentence case or Title Case in one click.TextWord CounterCount words, characters, sentences and reading time of any text.TextSort Lines and Reverse TextSort lines A to Z, by number or by length, reverse text, or shuffle a list.CalculatorPercentage CalculatorWork out X% of a number, what percent one number is of another, and percentage change.GeneratorPassword GeneratorCreate strong random passwords right in your browser.CalculatorAge CalculatorEnter a date of birth to see your exact age in years, months and days.