Line Sorter

Paste any list — names, keywords, URLs, tasks — and sort the lines alphabetically in one pass. A-Z or Z-A, with case-insensitive comparison so 'apple' and 'Apple' sort together instead of by capital letter. Blank lines can be dropped, duplicates collapsed, and the line count updates live.

It pairs naturally with the duplicate remover for list cleaning: dedupe first, sort second, copy the result. Like every ToolDune text tool, it runs entirely in your browser — private by architecture.

0lines out

How to use

  1. Paste your list into the input box.
  2. Choose A-Z or Z-A; toggle case-insensitive, remove blanks or dedupe as needed.
  3. The sorted list and line count update live — copy when it looks right.

Frequently asked questions

How do I alphabetize a list of names?

Paste the names one per line and click A-Z. Case-insensitive sorting keeps 'smith' and 'Smith' together instead of putting all lowercase names after all uppercase ones.

Does sorting change my original text?

No — the sorted output appears in its own box. Your input stays untouched until you clear or edit it.

What does case-insensitive mean here?

The sort compares letters without caring about capitalization, which is what humans expect: 'banana' sorts between 'Apple' and 'Cherry' rather than at the end.

Is there a line limit?

The practical limit is browser memory — tens of thousands of lines sort instantly. Nothing is uploaded; sorting is local JavaScript.

Related tools