Text Sorter

Sort lines of text alphabetically, numerically or by length. Clean and organize lists instantly in your browser.

Sort Options

Input Text

Add one item per line

0 / 500,000
0 lines

Sorted Text

Your sorted result appears here

0 lines

0

Original Lines

0

Sorted Lines

0

Words

0

Characters

0

Characters Saved

Sort text in seconds

Paste any list or line-based text into the editor. Choose how you want the lines sorted and the result updates instantly.

  • ✓Alphabetical sorting for names and lists.
  • ✓Numeric sorting for number-based lists.
  • ✓Sort lines by their character length.
  • ✓Reverse between ascending and descending order.

Flexible sorting options

Fine-tune the sorting behavior depending on the type of content you are organizing.

Case sensitivity

Choose whether uppercase and lowercase letters should be treated differently.

Whitespace cleanup

Trim unnecessary spaces from the beginning and end of each line.

Empty lines

Remove blank lines while sorting when needed.

Your text stays private

Text sorting happens directly in your browser. Your text is not uploaded to a server or stored by ToolSquare.