Skip to content

Sort List

Sort a list of lines alphabetically, ascending or descending, with optional duplicate removal.

Category: text
Use Case: Alphabetizing a List, Cleaning Up Spreadsheet Data, Organizing a Reading or Task List
Privacy: 100% browser-based

Recommended Settings

Pro Tips

  • Blank lines are automatically filtered out before sorting
  • Case-insensitive sorting treats 'Apple' and 'apple' as equal for ordering purposes, which usually matches what people expect
  • Turn on duplicate removal to both sort and deduplicate your list in a single step
  • This sorts alphabetically (lexicographically) - numbers sort as text, so '10' comes before '2'

Most Popular

Most users sort A to Z with case-insensitive matching, the standard alphabetical order

When to Use This Tool

Alphabetizing a List

Sort a list of names, items, or references into alphabetical order.

Cleaning Up Spreadsheet Data

Sort pasted data before bringing it into a spreadsheet or database.

Organizing a Reading or Task List

Put a list of books, tasks, or references into a consistent order.

Preparing a Bibliography or Reference List

Alphabetize a list of sources before finalizing a document.

How It Works

1

Split the input into individual lines, filtering out any blank ones

2

Optionally remove duplicate lines before sorting

3

Sort the remaining lines alphabetically in your chosen order and direction

100% Private

Files never leave your device. All processing happens locally in your browser.

Lightning Fast

Powered by Client-side string sorting for optimal performance on modern browsers.

Open Source

Built with verified, open-source libraries. Fully transparent.

Frequently Asked Questions

Does this sort numbers numerically?

No, sorting is alphabetical (lexicographic), so numbers are compared as text - '10' sorts before '2' since '1' comes before '2' character by character.

What happens to blank lines?

They're automatically removed before sorting, so your result won't contain any empty lines.

Can I sort and remove duplicates at the same time?

Yes, check the 'Remove duplicate lines' box to do both in one step.

Is sorting case-sensitive by default?

No, case-insensitive sorting is on by default so 'Apple' and 'apple' are treated the same way - uncheck it if you need strict case-sensitive ordering.

Is my data sent to a server?

No. Sorting happens entirely in your browser.