Line Sorter

Sort text lines ascending, descending, or randomly.

Input data is processed in your browser
Data is never sent to a server

Tool

Sort order:
0 lines

or drag & drop a file

What is Line Sorter?

Line Sorter rearranges text lines in ascending, descending, or random order. It is useful for organizing lists, sorting data, or shuffling lines randomly.

How to Use

  1. Paste the text you want to sort into the input field.
  2. Select a sort order (ascending, descending, or random).
  3. Click "Sort" to see the result.
  4. Click "Copy Result" to copy to clipboard.

FAQ

Is case sensitivity taken into account?

By default, sorting is case-insensitive. You can switch to case-sensitive with the option toggle.

Can it sort numerically?

Yes. Enable "Sort as numbers" to sort by numeric value. For example, 1, 2, 10 instead of 1, 10, 2.