What this tool does
This tool removes repeated lines from a list or any text, keeping each line's first occurrence in its original order.
Two options control the comparison: ignore letter case (so “Apple” and “apple” match) and trim spaces around lines (so “x” and “ x ” match). Both are on by default.
How to use it
- Paste your list — one item per line.
- Adjust the options if needed (ignore case, trim spaces).
- Press “Remove duplicates”.
- Copy or download the cleaned list.
Supported formats
- Input: pasted text or list (one item per line)
- Output: deduplicated list, with copy/download
Limitations
- Comparison is exact per line — lines that differ by punctuation or extra inner spaces are treated as different unless trimming applies.
- The first occurrence's order is kept; the tool does not sort the result.
- Blank lines are treated like any other line: repeated blank lines are removed only if trimming makes them identical.
Frequently asked questions
Will my list be sorted?
No — the original order is preserved and only later duplicates are dropped. Paste alphabetically sorted input if order matters.
Does “ignore case” change the output text?
No — it only affects which lines count as duplicates. The kept line keeps its original letters exactly as typed.
How many lines can it handle?
Tens of thousands of lines work fine because the comparison is a simple set lookup in your browser.