Line Sorter
/line-sorterSort lines of text alphabetically (A→Z / Z→A) or numerically with one click.
Sorting long lists — domains, product names, or log lines — alphabetically or numerically by hand is error-prone. This sorter orders lines with one click in either direction and supports numeric sorting for values like file2 before file10. It handles large blocks of text without trouble. Sorting is done entirely in your browser.
- 01Upload
- 02Configure
- 03Run
- 04Download
Loading tool...
FAQ
Frequently asked questions
Everything you need to know about line sorter.
How is numeric sorting different?
Numeric mode compares values as numbers, so 2 sorts before 10. Alphabetic mode uses locale-aware comparison, typically sorting 10 before 2.
Can I sort in reverse?
Yes. Choose the Z to A option to reverse the order of any sort, whether it is alphabetic or numeric.
Does alphabetic mode handle mixed text and numbers?
Yes. The locale comparison enables natural ordering, so file2 sorts before file10 instead of purely lexically.
What happens to empty lines?
Empty lines participate in sorting like any other line, so in ascending order they land at the top of the results.
How many lines can I sort?
There is no explicit limit, but sorting happens in memory, so extremely large inputs may take a moment.
Is my text uploaded?
No. Sorting happens locally in your browser, so the lines you paste never leave your device or any server.
Related tools
same category · same privacy
