Add Line Numbers
Number each line with a custom start, separator, zero padding and blank-line skipping.
About the Add Line Numbers
This tool adds a sequential number to the start of every line, which is handy for referencing steps, code, lists and instructions.
Pick the starting number and separator style, pad numbers with zeros so they line up, and choose whether blank lines are numbered or skipped.
It is great for turning a plain list into a clearly numbered one you can paste anywhere.
Key features
- Custom start number and separator style
- Optional zero padding for aligned numbers
- Skip blank lines
- Copy the numbered text instantly
How to use
- 1Paste your lines into the box.
- 2Set the start number, separator and options.
- 3Click Add line numbers and copy the result.
Examples
apple, banana (on separate lines)1. apple / 2. bananaEach line is prefixed with its position in the list.
Frequently asked questions
- What does zero padding do?
- It pads numbers with leading zeros so they all share the same width, for example 01, 02 ... 10, keeping your list neatly aligned.
- Can I start numbering from zero or another value?
- Yes. Set any starting number, including 0 or a larger value, and numbering continues from there.
- Is my text uploaded anywhere?
- No. Numbering happens entirely in your browser, so your text never leaves your device.
Continue your workflow
Open a related tool to prepare your files or refine the finished result.
- Text ToolsAdd Prefix & Suffix to Lines
Add text to the start and/or end of every line, with optional blank-line skipping.
Open tool - Text ToolsText Sorter
Sort lines alphabetically, by length or numerically, or reverse their order.
Open tool - Text ToolsLine Counter
Count total, non-empty, blank and unique lines, and find the longest line.
Open tool
