Text Tools

Sort Lines

Alphabetize text lines A to Z or Z to A. Works with any line-separated list — browser-based, no upload.

No uploads — browser onlyInstant result

Input

How to sort text lines alphabetically

  1. Paste your line-separated list into the input area.
  2. Choose A → Z or Z → A order. Toggle case-sensitivity and other options as needed.
  3. Click Sort Lines to alphabetize.
  4. Copy the result or download it as a .txt file.

Privacy — processed in your browser

Sorting runs entirely in your browser. Your text is never sent to any server. This online line sorter is safe for private lists, keyword sets, or sensitive data.

Frequently Asked Questions

Does this upload my text?

No. All sorting runs locally inside your browser. Nothing is uploaded, stored, or shared.

Can I sort lines A to Z and Z to A?

Yes — choose A → Z for ascending order or Z → A for descending. The option is visible in the toolbar before sorting.

Can I alphabetize a list online?

Yes — paste any line-separated list and click Sort Lines. It works for words, phrases, URLs, keywords, names, or any text where each item is on its own line.

Can I remove empty lines while sorting?

Yes — enable "Remove empty lines" to strip blank lines before sorting, producing a clean, continuous sorted list.

Is sorting case-sensitive?

By default, sorting is case-insensitive ("Apple" and "apple" sort together). Enable "Case-sensitive" to sort uppercase letters before lowercase (ASCII order).

Related tools