🍋 Text Tools
Add/Remove Line Numbers
Add or remove line numbers from text.
chars
words
sentences
lines
Options
Results
Result
About Add/Remove Line Numbers
Add line numbers to text with customizable separator and start number, or remove existing line numbers from numbered text.
How It Works
When adding numbers, each line gets a number prefix with your chosen separator. Numbers can be padded with spaces for alignment. When removing, common patterns (1. , 1: , 1) , 1\t) are detected and stripped.
Step by Step
- 1 Paste your text
- 2 Choose Add or Remove
- 3 For adding: set separator, start number, and padding preference
- 4 Click Process
Tips
- Padded numbers align neatly for code or documentation.
- Remove mode handles multiple numbering formats automatically.
- Start from 0 for zero-indexed lists.
Frequently Asked Questions
What numbering formats can be removed?
The tool removes common patterns: '1. ', '1: ', '1) ', and tab-separated numbers.