Free tool

Sort lines alphabetically

Sort lines alphabetically from A to Z or Z to A. Numbers inside the text sort the way people expect, so "item 2" comes before "item 10". You can also sort by the first number in each line, such as a price.

The example is loaded. Paste your own list to replace it.

1
Sort lines

→ 4 lines

Order

Compare as

Capital letters first

Your text

4 lines

Result

4 lines

What it does

A to Z, Z to A, or by number.

Settings you can change

  • Order: A to Z / smallest first, Z to A / largest first
  • Compare as: Text, with numbers in order (item 2 before item 10), Plain text, Numbers (first number in the line)
  • Capital letters first

When to use it

A list of prices copied from a page is in the shop's order. Sort it by number to see the cheapest first.

Example: sort lines alphabetically

Input

Result

Tips

  • Choose "Numbers" to sort $1,200 above $30. Lines without a number go to the end.

Used in these recipes

Often used with

Shortest lines first, or longest first.

Last line first.

Keep one copy of each line.

All free tools

Your text stays on this computer
The list editor works on your computer. The text you paste or open is not uploaded or stored by HeyScraper, and closing the page clears it. Saved recipes are kept in this browser only.

Got your list from a web page?

HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.

Get HeyScraper