Text & WritingTool 21
Add Line Numbers
Number a block of lines so you can refer to a specific row in a review.
Add Line Numbers
178 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Add text in the field above. Nothing is uploaded while you type.
Press “Add numbers”. The numbered lines appears in the result panel instantly.
Copy the numbered lines or download the file, then close the tab.
When to use it
Code reviews
Reference a line by number when you cannot use a diff view.
Survey data
Number free-text responses for a quick tally.
Step lists
Turn plain lines into a numbered procedure.
Questions
What format is used?
Each line becomes number, period, space, then the original text, starting at 1.
Are blank lines numbered?
Yes. Every line counts, so the numbers match the original line positions.
Does this tool upload my data?
No. Everything runs in this browser tab with JavaScript, so text never leaves your device.
How do I quote the right line in a long review?
Number the block first, then refer to the number in your comment. Reviewers and the original author both count from the same list, which avoids the off-by-one confusion that comes from scrolling a diff.
Will numbering break if I paste code with tabs?
The original characters are kept and the number is added in front, so indentation survives. Copy the numbered block back into a plain editor if a tool complains about the prefix.