Sort Lines

Sort lines alphabetically, numerically or by length.

How to use this tool

Sorting uses your browser locale for alphabetical order. Numeric mode compares leading numbers; use only numeric lines for a meaningful numeric result. Blank lines are retained.

Worked example

pear, apple, banana sorts to apple, banana, pear.

Privacy and limits

Inputs are processed in your browser. Local processing is limited by device memory and browser features. These tools are provided as-is. Finance, tax and health calculations are estimates, not professional advice.

Privacy policy · Contact and support · Practical guides