UtilDojo

Popular

Menu

Sort Lines Alphabetically Online

  • This tool runs entirely in your browser. Nothing you enter or upload is sent to a server.

Lines

Sorted

Result appears here.

About this tool

Paste a list and sort it the way you need: alphabetically A–Z or Z–A, by line length, in reverse order, or randomly shuffled.

Natural order sorts numbers inside text by their value, so “item 2” comes before “item 10” instead of after it — the order people expect for file names, versions and numbered lists.

Sorting uses your language’s collation rules, so accented letters sort next to their plain versions. Combine it with “Remove duplicates” to get a clean, unique, sorted list in one step.

Frequently asked questions

What is natural sort?

Natural sort compares numbers by value instead of digit by digit, so 2 comes before 10. A plain alphabetical sort puts “10” before “2” because “1” comes before “2”.

Is the shuffle truly random?

It uses an unbiased Fisher–Yates shuffle with your browser’s random generator — fine for picking orders or winners, though not for cryptography.

Does ignore case change my text?

No, it only affects the order. Lines are returned exactly as you typed them.

Related tools