Sort Lines Alphabetically
Sort a list line by line, A to Z or Z to A. Turn on natural sorting so "item 10" comes after "item 2".
Sorting options
- Natural number sorting compares digit runs as numbers, so "file2" sorts before "file10".
- Case-sensitive off (default) treats "Banana" and "banana" as equal for ordering.
- Remove duplicates keeps one copy of each line after sorting.
Privacy
Sorting happens in your browser. Your text is not uploaded.
Frequently asked questions
What is natural number sorting?
It compares runs of digits as numbers, so 'item2' comes before 'item10'. Without it, 'item10' comes first because the character 1 sorts before 2.
Is the sorting case-sensitive?
By default sorting ignores case and accents, so 'Banana' and 'banana' are treated as equal when ordering. Turn on Case-sensitive to tell them apart.
Can I remove duplicates while sorting?
Yes. Turn on 'Remove duplicates after sorting'.
How do I sort from Z to A?
Choose 'Z to A' in the Order menu.