Sort Lines

Sort lines alphabetically, numerically or by length.

Sort order
Options

How to use Sort Lines

Paste your list, choose a sort order, then click Sort lines.

About this tool

Sort any list by alphabet (A→Z or Z→A), by length, or by numeric value. Optional case-insensitive matching, whitespace trimming, and empty-line removal.

Related tools