CountKit

Text cleanup / Remove duplicate lines

Remove duplicate lines

Paste a list of emails, keywords, names or URLs and remove every repeated line in one step. The first occurrence of each line is kept, in the original order. Options let you ignore differences in capitals and surrounding spaces.

clean.txt

How it works

  • Each line is compared to the lines above it; repeats are dropped.
  • The status line tells you how many duplicates were removed.
  • To also sort the list, copy the result into the sort lines tool.

At a glance

Remove duplicate lines
Remove duplicate lines from a list and keep the first of each. Optional case-insensitive matching and trimming. Original order kept.
Price
Free, no sign-up
Works on
Phones, tablets and computers, in a web browser
Your data
Text is processed in your browser and is not uploaded. Your draft is saved only on your device.

Frequently asked questions

Does it change the order of my list?

No. Lines stay in their original order; only later repeats are removed.

Are "Apple" and "apple" duplicates?

Only if "Ignore case" is ticked.

Is there a size limit?

No fixed limit. Lists of tens of thousands of lines work in a modern browser.