Number lines
Transformed in your browser · nothing is uploaded
Puts a number and a full stop in front of every line, starting at one. Blank lines are skipped rather than numbered, so the count matches the items and not the whitespace. Two lines reading alpha and bravo come back as 1. alpha and 2. bravo.
How to use the number lines
Skipping the 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, so empty lines are dropped entirely rather than counted. The cost of that decision is that this is not a code editor’s gutter: it cannot number every line including the empty ones, and it always starts at one, so it will not match a listing that starts at 100.
The numbers it adds are plain text, not a list format, and three things follow from that. Sort a numbered list afterwards and 10. lands between 1. and 2., because it sorts as text, so sort first, then number. Paste one into a word processor and autoformat may recognise the pattern and convert it into a real numbered list, renumbering as it goes. And running it over a list that is already numbered gives you two numbers on every line; strip the old ones with find and replace first. The numbers are not padded either, so 9. and 10. will not line up in a monospaced column.
Questions
No, they are removed. The numbers count items rather than whitespace.
No. It always starts at one, with a full stop and a space after the number.
Not here. This numbers a list; it is not a code editor’s gutter.
The numbers are text, so 10. sorts between 1. and 2. Sort the list first, then number it.
You will get a second set in front of the first. Strip the old ones with find and replace, then number.
Yes: run the duplicates option, paste its result back into the box, then number it.
No. 9. and 10. are different widths, so a monospaced column will not align.