Text Sorter

Sort lines A–Z, Z–A, numerically, by length, or shuffle them.

Runs entirely in your browser. Your text is never sent to a server or saved.

About the text sorter

Put any list in order. Sort alphabetically with natural number handling (so item 2 comes before item 10), numerically, by line length, in reverse or randomly. Case sensitivity and blank-line handling are configurable.

How to use it

  1. Paste one item per line.
  2. Choose the sort type and options.
  3. Copy or download the sorted list.

Frequently asked questions

What is natural sort?

It compares embedded numbers by value, so “file2” sorts before “file10” instead of after it.

Does it sort non-English letters properly?

Yes. It uses your browser’s locale-aware comparison.

Related tools