Skip to content
ToolsLeb ToolsLeb

Line Sorter

Sort a list of lines alphabetically or numerically, ascending or descending, live as you type.

Direction

Advanced options
Text

Paste a list of lines to sort…

0 characters
Output

Converted text will appear here…

0 characters

How it works

1

Paste a list of lines — names, tasks, values, anything one-per-line.

2

Choose A → Z or Z → A, and any comparison options you need.

3

The list re-sorts live as you type or change options.

4

Copy the sorted result, or download it as a .txt file.

Example

Before
banana
apple
cherry
After
apple
banana
cherry

Related text tools

Share on Social Media:

Sorting a list manually is tedious and error-prone once it grows past a handful of items. Line Sorter alphabetizes or numerically sorts any list of lines instantly, live as you type, in ascending or descending order.

Frequently Asked Questions

Yes — turn on "Sort numerically" so 2 sorts before 10 (alphabetical sorting would otherwise put "10" before "2").

With it on, uppercase letters sort before lowercase ones; with it off (default), sorting ignores case.

Alphabetical (text) sorting compares numbers character by character, so "10" sorts before "2" (since "1" comes before "2"). Numerical sorting compares actual numeric value, so 2 correctly sorts before 10 — use the numeric option for lists of numbers.