Free tool

Filter lines by length

Filter lines by length: keep only lines with at least a minimum and at most a maximum number of characters.

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

1
Keep lines by length

→ 2 lines

At least (characters)

At most (0 = no limit)

Your text

4 lines

What it does

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

Settings you can change

  • At least (characters)
  • At most (0 = no limit)

When to use it

Drop one-letter leftovers and overly long lines from a scraped list of keywords.

Example: filter lines by length

Settings used: At least (characters): 2; At most (0 = no limit): 20.

Input

Result

Often used with

Shortest lines first, or longest first.

Cut each line to a maximum number of characters.

Drop blank lines.

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