↕️

Line Sorter

Sort one-item-per-line text lists instantly. Choose A-Z or Z-A order, ignore case, use natural sorting, and remove blank lines before copying the result.

Text Tools Runs locally No data sent
sort linesnatural sortA-Zbrowser only
Input
Input Lines0
Output Lines0
Sort ModeA-Z
Sorted Result

What is Line Sorter?

Line Sorter orders one-item-per-line text lists alphabetically or in reverse. It can also use natural numeric sorting, which makes mixed text like item 2 and item 10 sort in a more intuitive order.

How to Use Line Sorter

  1. Paste the list you want to sort into the input area.
  2. Choose A-Z or Z-A order and set the sorting options you need.
  3. Review the sorted lines instantly in the output panel.
  4. Copy the final list back into your document, sheet, or script.
Understand Line Sorting ▾
Example
Input item 20 item 3 item 1 Banana apple
Output apple Banana item 1 item 3 item 20
Common Use Cases
  • Sort lists of filenames, tags, or values before comparing them
  • Order pasted rows for cleaner review or export
  • Sort numbered items using natural numeric order
  • Quickly normalize list order without spreadsheet formulas
Why Use This Tool
  • Useful for lists, filenames, tags, and mixed text values.
  • Supports natural numeric sorting for clearer ordering.
  • Runs in the browser so you can sort quickly without external tools.
Frequently Asked Questions
What is natural sorting?

Natural sorting treats numbers inside text more like humans expect, so item 2 comes before item 10.

Can I sort in reverse order?

Yes. Change the sort order to Z-A to reverse the result.

Does it ignore case?

Yes. Ignore case is enabled by default, and you can turn it off if you need exact uppercase and lowercase ordering.

Is the sorting done locally?

Yes. Everything runs entirely in your browser.