Remove Duplicate Lines
Keep only the unique lines in a list, in their original order.
Runs entirely in your browser. Nothing you type is uploaded.
About this tool
Paste a list and every repeated line is removed, keeping the first occurrence so the original order survives. Options let you ignore case and ignore leading or trailing spaces when deciding what counts as a duplicate.
Questions & answers
- Which copy of a duplicate is kept?
- The first one. Everything after it that matches is dropped, so the order of what remains is unchanged.
- Are near-duplicates removed?
- Only if the options make them equal — ignoring case, or trimming surrounding spaces. Otherwise lines must match exactly.
- Does this tool send my data to a server?
- Runs entirely in your browser. Nothing you type is uploaded.