TaskEaser
Back to home

Text

Sort Lines

Sort lines alphabetically (A–Z)

Runs locally in your browser

Input

Output

How it works

Sorts lines of text alphabetically from A to Z using locale-aware ordering—ideal for cleaning lists, glossaries, and configuration entries.

Who it's for: Developers sorting env keys, writers alphabetizing bibliographies, and admins organizing name lists

Treats each line as a separate item and sorts the full list.

Uses standard locale comparison for predictable A–Z order.

Keeps one item per line in the output.

How to use

  1. Paste a list with one entry per line into the Input field.
  2. Wait for the sorted list to appear in the Result section.
  3. Scan for empty lines—they sort to the top or among entries depending on content.
  4. Click Copy to export the ordered list.

Good to know

  • Sorting is ascending only—reverse the list in an editor if you need Z–A order.
  • Leading spaces affect sort order—run Trim or remove spaces first if order looks wrong.
  • Case-sensitive ordering may place uppercase before lowercase depending on locale rules.