99+ Free Tools
← Back to all tools

Sort Lines A-Z

Put a list in order — alphabetically, by length, or shuffled. Nothing is uploaded or stored.

An alphabetical list of names on paper
Sorting follows the rules below; locale-specific alphabets may order differently.

Lines

Enter some text first.




Sorted lines

Your sorted lines appear here as you type.

How sorting works

Alphabetical. Lines are compared letter by letter. Case-insensitive (the default) treats "Apple" and "apple" as the same word; a tie is broken by the original capitalisation so the order is always the same.

Numeric-aware. Numbers inside a line are compared by value, so "item2" comes before "item10". With it off, lines sort letter by letter, so "item10" comes before "item2".

Leading articles. When ticked, a leading "The " or "A " is ignored for sorting only — the line itself is unchanged.

Word count / length. Lines sort by their word count or character count; ties fall back to alphabetical order.

Shuffle. A random order made with your browser's secure randomness.

Local only. All work happens in your browser. Nothing is uploaded, stored or shared.