Line Numberer
Add line numbers to any text with custom formatting, separators, and padding. Free online tool, paste and number instantly.
Preparing private browser tool…
Frequently asked questions
- Can I start from a different number?
- Yes. Use the Start From field to begin at any integer - useful for continuing from an existing file.
- What does Auto padding do?
- Aligns all line numbers to the width of the largest number so text lines up neatly.
- Supported separators?
- Dot (.), colon (:), pipe (|), or plain space between the line number and text.
- Are blank lines numbered too?
- Yes. Every line gets a number, including empty ones, so the output lines up with the gutter in an editor.
- How large can the starting number be?
- Up to one billion. Values below zero are clamped to 0, and clearing the field or typing a lone minus sign falls back to 1 instead of producing NaN.