Remove duplicate lines

Paste a list and keep only the first copy of each line. Your text stays in your browser.

Advertisement

0 characters
0 characters

Advertisement

About this tool

This tool scans your text line by line and removes any line that has already appeared above it. The first copy is kept and the original order is preserved.

Use the options to treat 'Apple' and 'apple' as the same line, and to ignore spaces at the start or end of lines.

When to use it

Advertisement

Questions

Does it keep the original order?

Yes. The first copy of every line stays where it was.

Are blank lines removed?

Repeated blank lines count as duplicates, so only the first blank line is kept.

Is my list uploaded?

No. Everything happens in your browser.

More text tools

Case converters