Skip to content

How to Use Line Sorter

Sort lines online alphabetically, numerically or by length, reverse them or shuffle them. Free line sorter for lists, keywords and data. Nothing uploaded.

About this tool

Arrange a line-based list alphabetically, numerically, by length or in reversed order.

How to use Line Sorter

  1. Paste one item per line in Lines to sort.
  2. Choose a sort mode and the case, trimming, empty-line and duplicate options.
  3. Copy Sorted lines after checking that the chosen mode fits the data.

Worked example

Sort 10, 2 and 1 as separate lines with Numeric 1 to 9 to get numeric rather than alphabetical order.

Can sorting change the meaning of my data?

Yes. Do not sort ordered instructions or rows whose sequence carries meaning unless you intend to change it.

What does Reverse order do?

It reverses the existing line sequence; it is different from choosing descending alphabetical order.

Put this guide into practice

  • Line Sorter — Sort lines alphabetically, by length, reverse them or shuffle them randomly.

Explore Text Tools · More practical guides

Accessibility Menu

Personalize your experience. Open with Ctrl+U (Option+U on Mac). Preferences stay in this browser when storage is available.

Move / Hide Widget

Restore at any time with Ctrl+U (Option+U on Mac).

Accessibility statement and help