Add Line Numbers
Add line numbers to each line of text
Input Text
Paste or type your text here
Options
Output Text
Processed text will appear here
How It Works
Add line numbers to each line of text
Prepend sequential line numbers to every line of your text. Configure the starting number, format, and separator. Useful for creating numbered lists, adding reference numbers to code, or numbering lines in legal documents and contracts.
Key Features
- ✓Sequential numbering from any start value
- ✓Custom separator (dot, colon, tab, etc.)
- ✓Zero-padded number formatting
- ✓Works with any number of lines
How to Add Line Numbers to Text
- 1
Paste your text
Enter the multi-line text to number.
- 2
Configure numbering
Set start number, separator, and format.
- 3
Copy numbered text
Click copy to get the numbered version.
Common Use Cases
- •Adding line numbers to code snippets for reference
- •Numbering list items for ordered sequences
- •Creating numbered reference documents
- •Adding line counts to legal or contract text
Frequently Asked Questions
Can I start numbering from a number other than 1?▼
Yes. You can set any starting number, such as starting from 0 or continuing from a previous section's last number.