Sort Text Alphabetically

Sort the lines of your text from A to Z (or Z to A) in one click.

How does it work?

Sorting lists by hand is tedious: client names, codes, cities or products can be alphabetized in seconds.

Every line of the text is treated as one item. Choose A → Z for natural language sorting (it handles accents case-insensitively) or Z → A to invert the order.

Frequently asked questions

Is each line an item?

Yes: every line is sorted as its own entry. If your list uses commas or another separator, convert it to lines first.

How does it sort accents and uppercase?

It uses locale-aware comparison, so Ávila and avila are ordered naturally in English, not by character code.

What does Z → A mode do?

It only inverts the order: lines end up sorted descending (from Z to A).

Related tools