Utility Hub

Sort Lines

Sort any block of text line by line — alphabetically, numerically, or by length. Numeric sorting uses real number values, not string order.

Sort order

Processed locally in your browser.

What does this tool do?

The Sort Lines tool takes a block of text and reorders the lines according to the sort mode you choose. It is useful for sorting lists, cleaning up code, organising data, and more.

Sort modes

Numeric sorting example

Input: 10 / 2 / 30 / 4

Numeric ascending → 2 / 4 / 10 / 30 (not 10 / 2 / 30 / 4 as alphabetical would give).

Options

How to use

FAQ

Privacy

Your text is processed entirely in the browser. Nothing is transmitted to any server.