Sort text alphabetically

Sort lines A to Z or Z to A, reverse a list, or mirror text.

  • Free
  • No sign-up
  • Runs in your browser: nothing is uploaded

Tools

Clean up
Change case
Lists
Find and replace

Sort text alphabetically: how it works

Paste a list with one item per line and press Sort A → Z or Sort Z → A. Numbers sort the natural way (2 before 10). You can also reverse the order of lines, number them, or reverse the text itself.

Is sorting case sensitive?

No. "apple" and "Apple" sort together.

How do I reverse text?

Press Reverse text (mirror) to write the text backwards, last character first.

What this text cleaner does

  • Fix broken lines: text copied from a PDF often has a line break in the middle of every sentence. This joins them back into proper paragraphs.
  • Change case: turn ALL CAPS text into normal sentences, or make headings Title Case.
  • Lists: remove repeated names or numbers, sort a list alphabetically, or number it.

Questions

I made a mistake. Can I go back?

Yes, press Undo. It remembers your last 20 changes.

Is my text sent anywhere?

No. Everything happens in your browser.