Send feedback

Coming from the page: Sort Lines Alphabetically

One moment…

A–Z and Z–ANumbers by valueFair random shuffle

Sort Lines Alphabetically

Paste your list, one item per line, and sort it like a dictionary, by length, or at random.

Your text never leaves your device: everything runs in your browser.

How to alphabetize a list

1

Paste the list

One name or word per line, or open a TXT file.

2

Pick the order

Alphabetical, by length or random; A to Z or reversed.

3

Copy the sorted list

The result shows at once. Copy it or download a TXT file.

How lines are sorted

CaseOur orderExample
LettersDictionary order, upper and lower case togetherapple, Banana, cherry
NumbersBy value, not by first digit2, 9, 10, 100
AccentsWith their base lettercafe, café, cake
English and Arabic togetherEnglish first or Arabic first, your choiceAdam, Zaid, أحمد، سارة

Good to know

Random order is fair. We use the browser's cryptographic random generator, so every order is equally likely: fine for draws and turn order.

Ties keep their order. When two lines sort the same, they stay in their original order.

In Excel and Word: Excel: Data → Sort. Word: Home → Sort. Or paste the list here.

FAQ

How do I sort a list alphabetically?

Paste the list, one item per line, and choose Alphabetical. The list appears A to Z; tick “Reverse order” for Z to A.

Why does 10 come after 9 and not after 1?

“Numbers by value” is on, so numbers sort the way people read them. Turn it off for character-by-character order.

Can it ignore upper and lower case?

Yes, “Ignore upper/lower case” is on by default, so apple and Apple sit together.

Can I shuffle a list for a random draw?

Yes, choose Random. Each press of “Shuffle again” gives a new, fair order.

Does it sort Arabic correctly?

Yes, in dictionary order (أ and إ sort with ا), and you can ignore the article «ال».