Add Line Numbers
Paste text to prefix every line with a sequential number. Choose where the numbering starts, the separator after each number, and whether to zero-pad — all live in your browser.
How to add line numbers
- Paste your text into the box.
- Set the start number, separator and zero-padding; skip blank lines if you prefer.
- Copy the numbered result.
About numbering lines
Numbering lines makes text easier to reference and review — for code snippets, transcripts, checklists, survey items or any list where you need to point at “line 12”. A consistent separator and optional zero-padding keep the numbers neatly aligned.
You can start numbering at any value (handy when continuing from another document), choose the separator that follows each number, and zero-pad so 1–99 line up as 01–99. Blank lines can be skipped so only content lines are numbered. It all runs in your browser.
Frequently asked questions
Can I choose where numbering starts?
Yes. Set any start number — useful when you’re continuing line numbering from another file or want to begin at 0.
What separators are available?
A dot, parenthesis, colon, tab or single space between the number and the line — pick whichever suits your format.
Can it skip blank lines?
Yes — turn on “skip blank lines” and empty lines pass through unnumbered, so only content lines get a number.
Is my text uploaded?
No. Numbering happens entirely in your browser, so your text never leaves your device.