How do I sort lines alphabetically?
Paste your list into the input box and choose A to Z alphabetical sorting. The sorted lines appear instantly in the output box, ready to copy.
Sort lines in alphabetical or reverse order, organize numbers naturally and clean up lists directly in your browser.
| Check | Value |
|---|---|
| Current sort | A to Z |
Paste your list into the input box and choose A to Z alphabetical sorting. The sorted lines appear instantly in the output box, ready to copy.
Yes. Change the input type to comma separated, then choose whether the result should be one item per line, comma separated, space separated or joined with a custom separator.
Yes. Use the number sort modes to sort numeric lines from low to high or high to low. Non-numeric items are placed after numeric items.
Natural sorting is useful for items that contain numbers. It sorts item2 before item10, which is often closer to how people expect numbered lists to behave.
No. The line sorting happens in your browser. The tool is designed for quick local list cleanup, sorting and copying.
Yes. Select the descending Z to A option to reverse alphabetical order. You can also choose numeric or natural ordering for lists that mix text with numbers.