TEXT TOOLS

Sort Lines Alphabetically

A–Z or Z–A

This tool sorts a pasted list of lines into alphabetical order, ascending (A–Z) or descending (Z–A), instantly.

How to use the sort lines alphabetically tool

  • Paste your list, one item per line.
  • Choose ascending or descending order.
  • Copy the sorted result.

When you'd use this

Alphabetizing a list of names, products, or references.

Sorting a glossary or index into order before publishing.

Organizing a list of tags or categories for readability.

Frequently asked questions

Does sorting ignore case, or treat uppercase and lowercase differently?

Sorting is case-insensitive by default, so "apple" and "Apple" sort together based on letter order rather than case.

About this tool

ToolBench runs this tool entirely in your browser. Your file or text is processed on your own device using JavaScript — nothing is uploaded to a server, nothing is stored, and there's no sign-up wall between you and the result. That's true of every one of the 500+ tools on this site, from PDF utilities to unit converters.

More text tools

View all text tools