Remove duplicate lines
Paste a list of emails, names or keywords and every repeated line disappears, keeping the first copy in its place.
Nothing is uploaded. Your text stays on your device.
Popular uses
Opens the tool with the right settings already chosen.
How to remove line breaks
Three steps, about ten seconds.
- 01
Paste your text
Paste text into the left box, or open a .txt file.
- 02
Pick how to clean it
Remove all line breaks, keep paragraphs, remove duplicate lines or remove extra spaces.
- 03
Copy or download
The result updates as you type. Copy it, or download it as a .txt file.
How duplicates are found
Two lines count as the same when they match character for character. With Trim each line on, spaces at the start or end don't count, so "apple " and "apple" are duplicates.
Turn on Ignore capitals to treat "Apple" and "apple" as the same line. The first one is kept, exactly as you typed it.
The order of your list doesn't change, and nothing is sorted. The line count under the result tells you how many were removed.
Frequently asked questions
Does it keep the first or last copy?
The first. Later copies are removed and everything else stays in the same order.
Can I remove duplicates from an Excel column?
Yes. Copy the column, paste it here, then copy the result back into Excel.
How do I remove line breaks from text copied from a PDF?
Paste it into the box on the left and choose Keep paragraphs. Each paragraph becomes one line, with a blank line between paragraphs.
Is my text uploaded?
No. Everything happens in your browser, and nothing is sent anywhere.
Is there a limit?
No daily limit. Up to 2 million characters at a time, which is several books.