getwordcount.com

Sort Lines Alphabetically

Sort lines A→Z or Z→A in one click.

Copied to clipboard

Paste a list and this tool sorts the lines alphabetically, A→Z or Z→A, in one click. Use it to organise names, keywords, to-do items, references or any line-based data in seconds.

How to use the line sorter

  1. Paste your list, one item per line.
  2. Choose ascending (A→Z) or descending (Z→A) order.
  3. Copy the sorted result.

Alphabetical order, instantly

Sorting is done line by line using standard alphabetical order. It is far faster than dragging rows around in a spreadsheet when you just need a quick reorder — for a bibliography, a glossary, a guest list or a set of tags.

Make a clean, sorted, unique list

Combine tools for a spotless list: remove blank lines, then remove duplicate lines, then sort here. The result is an ordered, gap-free, duplicate-free list ready to paste anywhere.

Frequently asked questions

Can I sort Z to A?

Yes. Choose the reverse (descending) option to sort from Z to A.

How are numbers and capitals handled?

Lines are compared using standard alphabetical ordering, where numbers and symbols sort before letters. For strictly numeric sorting, keep your numbers the same length (pad with leading zeros).

Does it remove duplicates while sorting?

No, sorting keeps every line. Run Remove Duplicate Lines first (or after) if you also want a unique list.

Related tools