Home โบ Text Tools โบ Sort Text Lines
โ๏ธ Sort Text Lines
Sort any list of lines alphabetically (AโZ or ZโA) or by line length.
About this Sort Text Lines
This line sorter tidies any list โ names, words, products, to-dos โ into a clean order. Sort A to Z for directories and glossaries, Z to A for reverse order, or by length to find your shortest and longest entries at a glance. Blank lines are dropped automatically and sorting ignores capital letters.
How to use it
- Paste your list, one item per line.
- Choose Sort A โ Z, Sort Z โ A, or Sort by length.
- Read the ordered list in the result box.
- Copy it into your document, spreadsheet or app.
Example
The lines banana, apple, kiwi, cherry sort A โ Z into apple, banana, cherry, kiwi โ and by length into kiwi, apple, banana, cherry.
Frequently asked questions
Does sorting ignore capital letters?
Yes. 'Banana' and 'banana' are treated alike, so capitals never push a line out of its natural place.
What happens to empty lines?
They are removed before sorting, so the result is a clean list with no gaps.
More Text Tools
Word Counter
Count words, characters, sentences and paragraphs in any text, with reading and speaking time estimates.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case or aLtErNaTiNg case with one click.
Lorem Ipsum Generator
Generate classic lorem ipsum placeholder text by paragraphs, sentences or words for designs and mockups.
Character Counter
Count characters live and see how many are left for X, Instagram, LinkedIn, Facebook and SMS limits.
Remove Duplicate Lines
Remove duplicate lines from any list or text, with options for case, trimming spaces and sorting A to Z.
Reverse Text
Reverse a whole text, reverse each line, or flip the word order, for fun messages, puzzles and checks.