Text Tools

Sort Lines Alphabetically

Paste a list and sort the lines A→Z, Z→A or numerically, with optional case sensitivity.

10 2 Apple banana cherry

How to use it

  1. Paste your lines One item per line.
  2. Choose the order A→Z or Z→A, and turn on Numeric for numbers.
  3. Copy the sorted list Press Copy.

Examples

b, a, c a, b, c
10, 2, 1 (numeric) 1, 2, 10

About this tool

This tool sorts the lines of a list so you do not have to do it by hand. Sort names, words or numbers in ascending or descending order, with a numeric mode that orders by value rather than by first character.

Paste one item per line and the sorted result appears instantly, ready to copy. Everything runs in your browser.

Frequently asked questions

How does numeric sorting differ from alphabetical?

Alphabetically, "10" comes before "2" because it starts with 1. Numeric sorting compares the actual values, so 2 comes before 10.

Is sorting case-sensitive?

By default no, so "apple" and "Apple" sort together. Turn on case-sensitive to separate them.

Related tools

Updated June 12, 2026