TOOLTIKI Lovable tool, really free
Developer Lists

Number lines

What to do

Transformed in your browser · nothing is uploaded

Local · blanks are skipped, not numbered
Advertisement
320 × 100

Adds a sequential number to the start of every line, skipping blank ones so the count matches the items rather than the whitespace.

How to use the number lines

1 Paste your text into the first box.
2 Choose what you want done to it.
3 Copy the result, or save it as a text file.

Skipping blanks is the choice that makes this useful rather than merely mechanical: a list with a stray empty line between items should number 1, 2, 3, not 1, 3, 4. If you genuinely want every line numbered including the empties — matching a code editor’s gutter, say — that is a different operation and this is not it. The common use is turning a pasted list into something referenceable in a conversation, where "item 7" is a great deal easier than "the one about invoicing". Combining it with de-duplication first is worth doing on anything that came from a spreadsheet.

Questions

No, they are skipped so the numbers match the items. Blank lines are removed from the output.

MDN — working with strings
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING