Line numberer
Add configurable line numbers to every text line.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Every line gets a consecutive number; line content is untouched.
Enter text to see the result
Numbered: 0 · Input lines: 0
What this tool does
- Number code snippets, logs or checklists line by line for easy reference.
- Continue numbering from any start value to append to an existing list.
Example
Input
first second third
Output
1. first 2. second 3. third
Defaults are start 1 and separator ". "; blank lines also consume a number unless "Skip blank lines" is enabled, which keeps them unchanged and unnumbered.
Frequently asked questions
Which start numbers are allowed?
Any integer from 0 to 100000000 (0 included). Leaving the field empty uses the default 1; decimals or out-of-range values raise an error instead of being truncated silently.
Do blank lines consume a number?
By default yes: a blank line is numbered too, so line numbers map 1:1 to positions in the original text. Enable "Skip blank lines" to keep blank lines unchanged and unnumbered.
Is the original text modified?
No. Each line only gets a prefix of "number + separator"; everything else, including leading and trailing spaces, is preserved exactly.
Keywords:Line numbererline-notextlist