Number lines
Transformed in your browser · nothing is uploaded
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
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.