Remove repeated lines from a list while keeping the first occurrence of each, with case and whitespace options, in your browser.
Each line keeps its original position, and only later repeats are removed.
Compare lines exactly by default, or ignore case, or ignore spaces around lines.
LF and CRLF text works, and a final line break is kept only if there was one.
Everything is computed in your browser. Your list is never uploaded or stored.
When you use Remove Duplicate Lines, your data never leaves your browser. All transformations execute in-memory on your local machine with zero server uploads. Web assets are downloaded to run the tool, but your input data is never transmitted.
No. The lines are processed in your browser. Nothing is uploaded or stored. The page does download the code needed to run the tool.
The first one. Later copies are removed, and the lines that remain keep their original order.
Lines are compared after trimming spaces and tabs at both ends, so " apple " and "apple" count as duplicates. The first one is output exactly as you typed it.
They follow the same rule as any line: the first empty line stays and later empty lines are removed as duplicates.
Keeps the first occurrence of each line, in its original position. Case sensitive compares lines exactly; turning on Ignore surrounding whitespace compares lines after trimming but keeps the first one as typed. Empty lines count like any other line, so only the first stays. Windows (CRLF) line breaks are handled like any other, and the result ends with a line break only if the input did. Press Ctrl+Enter (Cmd+Enter on Mac) in the input to run. Processed locally in your browser.