Alphabetize List

Alphabetize a list of items.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Alphabetize a list of names, book titles or tasks. Put one item on each line, press Run and copy the A to Z version.

How to use

1
Step 1
Paste the list into Input, one item per line.
2
Step 2
Press Run.
3
Step 3
Copy the alphabetical list.

How it works

The sort uses the browser's locale-aware comparison, which ignores the usual lowercase-after-uppercase trap: adam sits before Bea even though a is lowercase. Each whole line is compared, so Smith, Anna sorts by Smith.

Worked example

A guest list

Input
Zoe adam Bea Carl
Output
adam Bea Carl Zoe
Walkthrough
Compared by letter regardless of case: a, B, C, Z.

Limitations

  • Ascending order only.
  • Leading articles such as The are not ignored.
  • Numbers sort as text.

Questions

How do I alphabetize a list online?
Paste one item per line, press Run and copy the result.
Does capitalisation affect the order?
Not in the usual way. adam and Adam sort next to each other.
Can I alphabetize by last name?
Write each line as Last, First so the last name comes first.

Features

  • Whole-line A to Z sort
  • Case-friendly ordering
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • HTML Crash Course For Absolute Beginners

    Traversy Media

    Text on the web often starts as HTML you clean or count.

    Watch on YouTube
  • Learn Regular Expressions - Crash Course

    freeCodeCamp.org

    Regex powers many find/replace and clean-text workflows.

    Watch on YouTube