Number Lines — Free Online Tool
Add sequential line numbers to any text block, or strip existing line numbers. Configure the starting number, separator character, and zero-padding. Useful for code snippets, document references, and structured text.
100% client-side. No uploads. Your data never leaves your browser.
How to use Number Lines
- Paste text into the input.
- Select 'Add' or 'Strip' mode.
- Configure start number, separator, and zero-padding.
- Copy or download the result.
Frequently Asked Questions
Can I start numbering from a number other than 1?
Yes. Set the 'Start at' field to any number including 0.
What separators are supported?
Any string: '. ', ': ', ') ', ' - ', etc. The separator appears between the number and the line content.
What does zero-padding do?
Pads shorter numbers with leading zeros so all numbers are the same width (e.g., 01, 02, ... 10). Useful when sorting by text.
Related tools
Related reading
Browse all free tools · theproductguy.in