Skip to content

Text Cleanup & Transform · free · no sign-up

Text Sorter

Sort lines of text alphabetically.

How it works Report a problem

Text Sorter

Sort lines alphabetically A–Z or Z–A with smart options

0
0
0
Input Lines

About the Text Sorter

Sort lines of text alphabetically.

How to use the Text Sorter

  1. Paste your text into the box, click Sample for an example, or load a text file with File.
  2. Choose A → Z or Z → A and options such as Trim lines and Skip blank lines.
  3. Press Sort Lines.
  4. Use Copy or .TXT to save the result.

Worked example

The lines pear, apple, mango sorted A → Z become apple, mango, pear.

Tips

  • Turn on Case-insensitive so "apple" and "Banana" sort as expected.

Frequently asked questions

Can I sort Z to A?
Yes. Choose Z → A.