Sort Lines Alphabetically

How it works

Each line is one item. Alphabetical sorting compares lines using your language's rules, so accents and capital letters land where you would expect. Numeric sorting reads the first number found in each line, which puts 2 before 10 (a plain A to Z sort would put 10 first).

FAQ

Why is 10 before 2 in A to Z order?

Alphabetical order compares character by character, and "1" comes before "2". Choose "Numbers, low to high" to sort by value instead.

How do I alphabetize a list?

Paste it with one item per line and keep "A to Z" selected. The sorted list appears below; press Copy result to use it.

See also: remove duplicate lines · reverse text · word counter