Skip to content

Text tool

Sort Lines

Put each line of pasted text into alphabetical order.

Stays in your browser Processed in your browser. The text is not sent to our servers.

Tip: press Ctrl+Enter (or ⌘+Enter) to run from a text box.

Result will show here after you run the tool.

How to sort lines

  1. Paste one item per line.
  2. Choose reverse order or number order if you need them.
  3. Click Sort lines.

The usual order is A to Z. Reverse order is Z to A. Number order puts 2 before 10. Blank lines stay in the list.

Back to Text tools

Frequently asked questions

Does sorting change the input?

The output is a new copy. The input stays as you pasted it until you clear it.

Is the list uploaded?

No. Sorting runs in your browser.

More questions on the FAQ page · Browse guides

Keep working without leaving the site.