T

Text Machine

Powerful text tools, in your browser

Sort List Alphabetically

Sort your text lines alphabetically with options to customize the order and case sensitivity.

Input
Sorting Options

Sort Order

Case Sensitivity

Empty Lines

How to use Sort List Alphabetically

  1. 1

    Enter your list

    Paste your items into the input box with one item on each line.

  2. 2

    Set sorting options

    Choose ascending A-to-Z or descending Z-to-A, pick case-sensitive or ignore-case, and decide whether to keep or remove empty lines.

  3. 3

    Sort the list

    Click Sort List to reorder every line according to your chosen options.

  4. 4

    Copy the output

    Copy the sorted list from the output box to use in your document or spreadsheet.

Frequently asked questions

How does case sensitivity affect the sort order?
In case-sensitive mode uppercase letters sort before lowercase ones, so "Zebra" comes before "apple"; choose Ignore Case to sort purely by letter regardless of capitalization.
Can I sort in reverse alphabetical order?
Yes, select the Z-to-A (Descending) option to sort your list backwards, from the last letter of the alphabet to the first.
What happens to blank lines in my list?
You control this with the Empty Lines setting: Keep Empty Lines preserves blank rows, while Remove Empty Lines strips them out before sorting.
How are numbers and items starting with digits handled?
The list is sorted as text, so items are compared character by character; numbers sort by their digits as characters rather than by numeric value.
Is the tool free and does it upload my list?
It is completely free with no sign-up, and all sorting happens in your browser so your list is never sent to any server.

Related tools

Keep going with these handy tools

Alphabetical Order Sorter

Remove Line Breaks

Add Line Breaks

Remove Blank Lines

Remove Duplicate Lines

Line Breaks to Paragraphs Converter