Line Numbering & Prefix Tool
Number every line (start, step, zero-padding, separator, skip blanks), add a prefix and suffix to each line, or strip existing numbers and bullets. No upload.
Lines numbered or wrapped exactly as specified, with the count of lines touched and the digit width used, or the list with its markers removed.
Example: Twelve steps pasted from a procedure get "01. " to "12. "; the same list can be turned into a Markdown checklist with prefix "- [ ] ", or its old "1)" markers stripped first.
Numbers computed,
not counted.
How numbering, affixes and stripping work, and what the strip pattern recognises.
Numbering
Line k gets start + k × step (negative steps count down), padded with zeros to the width you choose or, on "auto", to the width of the largest number that will appear. Blank lines can be skipped, in which case they do not advance the count.
Prefix / suffix
Each line becomes prefix + line + suffix, exactly as typed (a trailing space in the prefix is kept). Useful for Markdown checklists, quoting and SQL value lists.
Stripping
A leading marker is removed when it matches one of: a number followed by . ) : ] or in parentheses, a dash, asterisk, bullet or en/em dash, a letter followed by . or ), or # headings — each followed by whitespace. Anything else is left alone and the page says when nothing matched. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.
SOURCES
- Plain arithmetic: n = start + k × step; markers stripped by the patterns listed on the page
Last reviewed 20 September 2026. How results are checked: How we verify.