Text

Remove Duplicate Lines

Strip out repeated lines and keep only the first of each, in order.


                    

0 duplicate lines removed

About this tool

Paste a list and this tool removes any line that has already appeared, keeping the first occurrence and leaving the rest of your list in its original order. It's handy for cleaning up exported lists, log lines, email addresses, keywords and other line-based data.

Everything runs in your browser as you type — nothing is uploaded or stored.

Frequently asked questions

Does it keep the original order?
Yes. The first time a line appears it is kept in place; later exact copies are removed. The remaining lines stay in the order you pasted them.
Is the matching case-sensitive?
Yes. "Apple" and "apple" are treated as different lines, so nothing is removed unless the lines match exactly.
Are blank lines removed too?
A second blank line is treated as a duplicate of the first, so repeated empty lines are collapsed to a single blank line.