Line Number Adder
Prefix every line of a block of text with its position. You can set the starting index, which matters when you are numbering an excerpt that begins part-way through a larger file — start at 247 and the numbers match the source.
Free, no signupRuns entirely in your browser
Input
Result
1: First line 2: Second line 3: Third line
About
What the Line Number Adder does
Unlike a word processor's automatic numbering, the numbers here become part of the text itself, so they survive copying into a plain-text field, a chat message or a code comment.
How it works
Using the Line Number Adder
- 1Paste the text or list you want numbered.
- 2Set the starting number — 1 by default.
- 3Each line is prefixed with its index followed by a colon.
- 4Numbering increments by one for every line, including blank lines.
- 5Copy the numbered output.
Use cases
What people use it for
- Numbering a code excerpt so you can point a colleague at a specific line
- Turning a plain list into a numbered checklist for a chat message
- Adding reference numbers to survey or interview responses
- Preparing a numbered transcript for annotation
FAQ
Frequently asked questions
6 related
All tools →