Sort Lines Alphabetically

Sort lines A–Z, Z–A, by length, naturally by number, reverse or shuffle them.

Runs instantly in your browser — results update as you type.

How do I sort a list alphabetically?

A line sorter reorders the lines of a text — alphabetically, by length, in reverse or randomly — so lists of names, keywords or items are easy to scan and compare.

How to use the Sort Lines Alphabetically

    Frequently asked questions

    What is natural sorting?

    Numbers inside text are compared as numbers, so "file 2" comes before "file 10".

    Can I sort Z to A?

    Yes, tick Descending.

    Does it change my text?

    Only the order of lines (and spaces or duplicates if you choose those options).