Writer

Line Sorter

Sort lines alphabetically, reverse order, or remove blanks.

All tools

Lines

Result

Base64
JSON
Markdown
URL

Frequently asked questions

Is sorting case-sensitive?
Default alphabetical sorting is typically case-insensitive so "Apple" and "banana" appear in the order most readers expect. ASCII-strict sorting would put all uppercase letters before any lowercase ones.
How are numbers in lines sorted?
Standard alphabetical sort treats numbers as text, so "10" comes before "2". For natural numeric ordering, prefix numbers with leading zeros or pre-sort numerically elsewhere.
Can it remove blank lines while sorting?
Yes, empty lines can be stripped during the sort so you get a clean, deduplicated-feeling list without manually cleaning whitespace first.