Home › All Tools › Line Sorter
Text tools
Line Sorter
Paste a list, one item per line, then sort it or clean out duplicates.
How to use the Line Sorter
- Paste your list with one item per line.
- Choose Sort A to Z, Sort Z to A, Remove duplicates or Reverse order.
- Click Copy to use the result.
Example: The list 'pear, apple, pear, fig' (one per line) becomes apple, fig, pear after sorting and removing duplicates.
About this tool
Sorting ignores upper and lower case and treats numbers naturally, so 2 comes before 10. Remove duplicates keeps the first copy of every line and compares lines after trimming spaces at the ends. Your list is never uploaded.
Frequently asked questions
Is sorting case-sensitive?
No. 'apple' and 'Apple' sort together.
Which duplicate is kept?
The first one. Later copies are removed and the original order is kept.
Does it count blank lines?
Yes. Repeated blank lines count as duplicates, so only one is kept.