Duplicate Line Remover

Remove repeated lines from lists, URLs, keywords, logs and copied text while keeping the order you need.

Browser-based deduplication. Your text is processed locally. Choose how duplicates should be compared, then copy the cleaned list.

Remove duplicate lines

Apple and apple count as the same line.
Ignore leading and trailing spaces when matching.
Exclude empty lines from the result.
Sort unique lines after deduplication.
Paste your list above, then remove duplicates.
Input0 lines
Unique0 lines
Removed0 duplicates

Common uses

How it works

Each newline-separated entry is compared using your selected rules. By default, the first occurrence is retained and later matches are removed. The original source text is not rewritten just because whitespace or case-insensitive comparison is enabled.

FAQ

Yes. Keep first preserves first-appearance order. Keep last retains the last occurrence of each value; sorting can then be applied if selected.
Yes. Turn on Ignore case.
No. Trimming is used for comparison. The selected source line is kept as written unless sorting changes its position.
No server upload is required. The deduplication runs in your browser.