Free tool

Sort lines by length

Sort lines by length, shortest first or longest first. Lines of the same length keep their order.

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

1
Sort by length

→ 3 lines

Order

Your text

3 lines

Result

3 lines

What it does

Shortest lines first, or longest first.

Settings you can change

  • Order: Shortest first, Longest first

When to use it

Find the longest product titles that may get cut off on a small screen.

Example: sort lines by length

Settings used: Order: Longest first.

Input

Result

Often used with

Keep lines with a number of characters between a minimum and a maximum.

Cut each line to a maximum number of characters.

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

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