Skip to main content

Text Sorter

Sort lines alphabetically, numerically, by length or at random.

Runs in your browser

Your sorted lines will appear here.

About the Text Sorter

An ordered list is easier to scan, compare and proofread. This sorter arranges your lines alphabetically, numerically, by length or in random order, in either direction, and can strip blanks and duplicates at the same time.

Numeric sorting is genuinely numeric, so 9 comes before 10 instead of after it, which is where plain alphabetical sorting usually goes wrong.

How to use the Text Sorter

  1. 1Paste your lines into the input area.
  2. 2Pick a sort method: alphabetical, numeric, by length or random.
  3. 3Choose ascending or descending order.
  4. 4Optionally remove empty lines and duplicates.
  5. 5Sort, then copy the result.

Features

  • Alphabetical sorting that respects local alphabet rules
  • True numeric sorting
  • Sort by line length
  • Random shuffle for fair ordering
  • Optional blank and duplicate removal

Why people use it

  • Find an entry quickly in a long list.
  • Compare two lists side by side once both are ordered.
  • Shuffle names fairly for a draw or a rota.

Common use cases

  • Alphabetising a bibliography or attendee list.
  • Ordering product codes numerically before import.
  • Randomising a list of participants for presentation order.

Privacy and your data

Everything you type or open here is processed by your own browser. No file, text or result is uploaded to a server, stored in a database or shared with anyone, and closing the tab clears it completely.

Frequently asked questions