---
title: "Sort Lines Alphabetically · Free anonymous tool · Laurens De Leeuw"
canonical: "https://laurensdeleeuw.be/en/tools/sort-lines-alphabetically"
markdown_alternate: "https://laurensdeleeuw.be/en/tools/sort-lines-alphabetically.md"
language: "en-BE"
content_type: "interactive-tool"
robots: "noindex, follow"
---

# Sort Lines Alphabetically

Paste a list and download the same lines sorted A to Z or Z to A. Free to use without an account, email address, or payment. The result downloads immediately after processing.

Paste a list and download the same lines sorted A to Z or Z to A.

Sort any list of lines alphabetically, ascending or descending, with optional case-sensitive comparison. Paste, pick the order, download the sorted.txt.

- **Category:** Text
- **Availability:** Free to use without an account, email address, subscription, or payment.
- **Input:** Entered in the browser

## How it works

1. Paste your list into the editor.
2. Pick ascending or descending order and whether the sort is case-sensitive.
3. Process and download the sorted.txt file.

## Use cases

- Sort a glossary of terms before sharing.
- Alphabetise a roster of names for a printed handout.
- Order a long list of keywords for an SEO brief.
- Sort a stack of URLs before reviewing them line by line.

## Frequently asked questions

### Is the sort case-sensitive?

By default no. Tick 'Case-sensitive' and uppercase lines sort before lowercase. Otherwise case is ignored.

### Does it sort numbers correctly?

The sort is alphabetical, so '10' comes before '2'. For natural numeric sort, pad your numbers with leading zeros first.

### Are duplicate lines kept?

Yes. Sorting only changes the order. To also remove duplicates, use our 'Remove Duplicate Lines' tool first or after.

### How big a list can I sort?

Up to 2 MB per job, which is hundreds of thousands of lines for typical content.

## Related tools

- [Text Cleaner](https://laurensdeleeuw.be/en/tools/text-cleaner)
- [Remove Duplicate Lines](https://laurensdeleeuw.be/en/tools/remove-duplicate-lines)
- [Text Case Converter](https://laurensdeleeuw.be/en/tools/text-case-converter)

## Using the interactive tool

Open the [canonical HTML page](https://laurensdeleeuw.be/en/tools/sort-lines-alphabetically) to provide input and generate or download a result. This Markdown alternate contains the complete descriptive and instructional content, but it does not execute the interactive interface.
