List tool

Alphabetize Lines

Paste a list with one item on each line and sort it into alphabetical order. You can reverse the order, ignore capitals and drop repeated lines, then copy the result.

Order

Steps

How to use the alphabetize lines

  1. Paste your list into the box, with one item per line.
  2. Choose A to Z or Z to A.
  3. Switch on the option to remove duplicates if you need it.
  4. Press Copy to take the sorted list.

Good to know

Why people use it

Sorting is handy for names, bibliography entries, shopping lists, tags, keywords and word lists. Spreadsheets can do it too, but a quick paste-and-copy tool is faster when you have a plain list.

Sorting follows the usual alphabetical order, with capitals and lowercase treated alike so that Zebra does not jump above apple. Numbers sort before letters, and accented letters are placed with their base letter in most browsers.

Fixes

If something looks wrong

Numbers are in a strange order.

Numbers are sorted as text, so 10 comes before 2. Add leading zeros, such as 02 and 10, if you want numeric order.

An item with a leading space moved to the top.

A leading space sorts before letters. Remove extra spaces at the start of lines, or paste cleaned text.

Related tools

Frequently asked questions

Is the sort case-sensitive?

No. Capitals and lowercase letters are treated the same, so the order follows the spelling and not the case.

Can I sort by last name?

Not directly. Put the last name first on each line, such as Smith, Ana, and then sort.

Does it sort words within a line?

No. It sorts whole lines. Put each word on its own line to sort individual words.

Last updated November 22, 2026 by the Words Lookup editorial team. Editorial policy.