Remove Duplicate Lines
runs in your browserno sign-upfree
Remove repeated lines from a list and keep only unique lines, in their original order.
About this tool
This tool removes repeated lines from any list — email addresses, keywords, names, URLs or log entries — and keeps only the first copy of each line, in the original order. Choose whether "Apple" and "apple" count as the same, and whether to ignore extra spaces and empty lines.
How to use
- Paste your list into the Input box, one item per line.
- Choose the options: ignore case, trim spaces and remove empty lines.
- The unique lines appear instantly, with the number of duplicates removed. Copy or download the result.
FAQ
Does it change the order of my lines?
No. The first copy of each line stays where it was and later copies are removed. To sort the list as well, use the Sort Lines tool.
What does "Trim spaces" do?
It removes spaces at the start and end of each line before comparing, so "apple" and "apple " count as the same line.
Is there a limit on list size?
No fixed limit. Lists with hundreds of thousands of lines work, because everything runs in your browser — nothing is uploaded.