Remove duplicate lines
Keep the first copy of each line, with options for case, trimming and sorting.
- 5 MB of text
- Runs in the browser
This runs in your browser. What you type is not uploaded by this tool.
Removed 0 duplicate lines.
How to use it
Three steps
- 01
Paste one item per line.
- 02
Choose whether case and surrounding spaces matter.
- 03
Optionally sort the lines that remain.
Related tools
Questions
Which duplicate is kept?
The first occurrence is kept unless you turn sorting on, which reorders the survivors.
Does trimming change the output?
Yes. When trimming is on, the saved line has surrounding spaces removed.