Sort Lines Alphabetically

Sort lines A–Z, Z–A, by length or numerically, or shuffle them randomly.

Tool

Was this tool useful?

About this tool

About Sort Lines Alphabetically

Quickly organise lists of names, keywords or numbers.

How it works

Alphabetical sorting uses natural order, so “item 2” comes before “item 10”.

Example

banana, apple, cherry → A–Z: apple, banana, cherry.

How to use this tool

  1. Paste a list with one item per line.
  2. Choose the sort order.
  3. Copy the sorted list.

Frequently asked questions

Does it handle numbers correctly?

Yes. Choose “Numeric” to sort by the number value.

Can I reverse a list without sorting?

Yes, choose “Reverse order”.

Is my text stored when I use the Sort Lines Alphabetically?

No. The Sort Lines Alphabetically processes your text in your browser. Nothing you type or paste is sent to our server, so it is safe for drafts and private notes.