Remove Duplicate Lines
Delete repeated lines from a list, with optional case-insensitive matching.
0
In
0
Out
0
Removed
Unique lines
Paste some lines on the left.
About Remove Duplicate Lines
Merged exports, copied lists and concatenated logs all tend to accumulate repeated lines. Removing them by hand is tedious and error-prone once the list runs past a screenful.
This tool deduplicates instantly while preserving order, optionally ignores case and surrounding whitespace, and can invert the operation to show you exactly which lines were repeated and how often.
Frequently asked questions
Is the original order kept?
Yes. The first occurrence of each line stays in place and later duplicates are removed.
Can I ignore case and whitespace?
Yes. Both are options, so "Apple" and " apple " can be treated as the same line.
Can I keep only the duplicates?
Yes, invert the mode to show only the lines that appeared more than once, along with their counts.