Strip repeated lines instantly — case-insensitive, trimmed, ordered your way
Options
Need to remove duplicate lines from a list, log file, or any block of text? This free online tool strips repeated lines in one click and shows exactly how many duplicates were removed. Choose case-insensitive matching to catch variations like "Apple" and "apple", enable whitespace trimming to ignore leading and trailing spaces, and decide whether to keep the original line order or sort alphabetically.
By default, two lines are duplicates when their text is exactly identical. Enable "Case-insensitive" to also treat lines that differ only by letter case (e.g. "Apple" and "apple") as duplicates. Enable "Trim whitespace" to ignore leading and trailing spaces when comparing.
Only if you want it to. The "Keep original order" option is on by default, so the first occurrence of each unique line stays in its original position. Uncheck it to have the output sorted alphabetically instead.
There is no hard limit — everything runs entirely in your browser, so performance depends on your device. In practice, tens of thousands of lines process in milliseconds.
No. All processing happens locally in your browser using JavaScript. Your text never leaves your device.