Add Line Numbers Online
Need numbered lines for code reviews, transcripts, or lists? This tool adds line numbers to every line so you can reference text quickly.
Paste your text, add line numbers, and copy the numbered output in seconds.
Input Text
Cleaned Text
Privacy & usage: your text stays in your browser. See Privacy, Terms, and Pricing.
Try It in 30 Seconds
Paste or type your text into the input box.
Keep "Add Line Numbers" enabled.
Click Clean Text and copy the numbered output.
Examples
Example 1
Input
Alpha Beta Gamma
Output
1. Alpha 2. Beta 3. Gamma
Example 2
Input
Line one Line two Line three
Output
1. Line one 2. Line two 3. Line three
Example 3
Input
Todo A Todo B
Output
1. Todo A 2. 3. Todo B
How It Works
Paste your text into the input box.
Add line numbers for quick reference.
Copy the numbered output into your document.
Common Sources
Frequently Asked Questions
Does it number empty lines?
Yes. Every line is numbered so you can reference positions accurately.
Does numbering start at 1?
Yes. Line numbers start at 1 by default.
Can I remove the numbers later?
Yes. Use the Remove Line Numbers tool.
Will it change the text content?
No. It only adds a numeric prefix to each line.
Is this useful for code reviews?
Yes. Line numbers make it easy to reference specific lines.