How to Sort Lines of Text Alphabetically or Numerically

Published September 20, 2026 · 2 min read

Sorting a pasted list — names, numbers, file paths — by hand is tedious past a handful of lines. This tool sorts your lines instantly, whether they're words, numbers, or a mix.

Try Text Sorter

Steps

  1. 1

    Open the Text Sorter tool

    Go to the text sorter.

  2. 2

    Paste your lines

    Paste the list you want sorted, one item per line.

  3. 3

    Choose a sort order

    Pick alphabetical or numerical, ascending or descending.

  4. 4

    Copy the sorted result

    Use the ordered list wherever you need it.

Frequently asked questions

Because sorting happens instantly, this handles lists of any length without the tedium of manually reordering them.

← Back to blog