Convert4Me – Convert4Me home
Share

Sort Lines Alphabetically

Paste a list with one item per line, then sort it A to Z, Z to A, by length, or flip the order.

Characters: 0Words: 0Lines: 0

How sorting works

Lines are sorted alphabetically, ignoring capitals, and numbers inside lines are compared by value so "item 2" comes before "item 10". You can also sort from Z to A, sort by line length, or simply reverse the current order.

How to sort text alphabetically in Word and Excel

For a quick one-off list, pasting it into the box above is faster than opening either program.

  • Microsoft Word: select the lines, then choose Sort on the Home tab.
  • Excel and Google Sheets: select the cells and use Data, Sort range.

How to use the Sort Lines tool

  1. Paste your list into the box, one item per line.
  2. Click how you want it sorted.
  3. Click the copy icon above the text to use the sorted list.

Frequently asked questions

Are numbers sorted correctly?

Yes. Numbers inside lines sort by value, so "item 2" comes before "item 10".

Is sorting case sensitive?

No. "apple" and "Banana" sort by their letters, not by capital or small letter.

Guides

Your privacy comes first. Your text and numbers stay in your browser and we never see them. If you allow it, we save what you type on this device and use Google Analytics to count visits. We never sell your data. Privacy Policy