Text Tools

Text Sorter

Sort lines alphabetically, in reverse, by length, numerically or simply reversed — perfect for lists and data columns.

Tool

About the Text Sorter

The Text Sorter rearranges any list of lines. Sort A→Z, Z→A, by line length, numerically, or just reverse the order. Paste a column of names, numbers or URLs and get it ordered in one click.

Sort options

OptionBest for
Sort A → ZAlphabetical lists of names, tags, keywords
Sort Z → AReverse alphabetical order
Sort by lengthFinding the shortest or longest items
Sort numericNumbers, prices, counts, IDs
ReverseFlipping a list without sorting it

How to use it

  1. Paste one item per line.
  2. Click the sort you need.
  3. Copy the sorted result.

Note on locales

Alphabetical sorting is locale-aware and case-insensitive, so apple and Apple sort together and accented letters sort next to their unaccented versions rather than at the end.

Practical uses

  • Alphabetise a bibliography or reference list.
  • Sort a list of filenames, tags or URLs.
  • Order numbers that were entered out of sequence.
  • Reverse a log so the newest entry is first.

Who it is for

Anyone who works with lists: researchers, developers, marketers and students.

Privacy

Sorting happens in your browser — nothing is uploaded.

Frequently asked questions

Yes. Sorting is case-insensitive and locale-aware, so uppercase and lowercase versions of a word sort together.
It reads the leading number on each line, so 10 correctly sorts after 2 instead of before it.
Not directly — but you can use the Text Extractor to reorder columns, or rearrange the lines before sorting.

Related tools

Guides for this tool