Alphabetize lists, names, words or any line-based text instantly — ascending or descending.
Sort any list of lines alphabetically, ascending or descending. Free online line sorter.
Sort Text Lines Alphabetically examples
Input
Output
zebra
apple
Mango
banana
apple
banana
Mango
zebra
How the sort text lines alphabetically works
Lines are compared with English collation, case-insensitively.
Numbers inside lines sort naturally (item2 before item10).
Reverse (Z–A) sorting is available in the tool.
Rules and edge cases
Lines are compared with English collation and case-insensitively, so Mango sorts between banana and zebra rather than jumping to the front.
Numbers inside lines sort naturally: item2 comes before item10, not after it.
Empty lines and duplicates are kept — sorting only reorders, it never deletes.
Reverse (Z–A) order is available in the tool itself.
Frequently asked questions
Why does my list sort differently in a spreadsheet?
Spreadsheets often use a locale-specific collation and sort capitals before lowercase letters. This tool uses case-insensitive English collation, which matches how most people expect a list to read.
How are lines starting with numbers ordered?
Numeric prefixes are compared as numbers, so 2, 10 and 100 come out in that order instead of the string order 10, 100, 2.