Sort Lines Alphabetically

Sort lines A–Z or Z–A, with numeric mode.

Free online tool to sort lines alphabetically. Order lines ascending or descending, with case-sensitive and numeric sorting options. Runs entirely in your browser.

How to use the Sort Lines Alphabetically

  1. 01Paste your lines into the input box.
  2. 02Choose ascending or descending, and toggle case-sensitive or numeric.
  3. 03Copy the sorted result.

Frequently asked questions

What does numeric sorting do?

Numeric mode sorts lines by the number they start with, so 2 comes before 10. Normal alphabetical sorting would put 10 before 2.

How does case-sensitive sorting differ?

With case-sensitive off, differently-cased words sort together naturally. With it on, capital letters are ordered separately from lowercase.