Add Line Numbers
Put a number in front of every line.
Also called: number lines in text, line counter with numbers.
TEXT & WRITING
Runs locally in your browserAdd Line Numbers
Put a number in front of every line.
Ready. Fill in the fields above, then press Run tool.
Privacy note: this tool runs in your browser, so the text you enter stays on your device.
Watch: how to use the Add Line Numbers (12 seconds)
Recorded on a phone, steps written on screen, no sound.
About the Add Line Numbers
Paste text and every line gets a number in front: 1., 2., 3. — useful for lists, code reviews, scripts and legal clauses.
How to use the Add Line Numbers
- Enter your textType or paste your text.
- Press Run toolThe result appears right under the button.
- Copy or download the resultCopy text results with Copy output; when the tool makes a picture or file, use its Download button.
This tool works inside your browser: what you enter stays on your device.
Example
The result the Add Line Numbers gives for a short sample note that contains a date, an e-mail address, a web address, a phone number and prices (produced by the tool itself).
Result:
1. Café Olé opened on 12 March 2025 in Lahore. 2. Email hello@example.com or visit https://example.com/menu for the menu. 3. Call +92 300 1234567 to order; delivery is free over 1500 rupees. 4. The café serves 3 kinds of coffee and 2 kinds of tea.
Good to know
- What you need
- You type or choose: Input text
- Where it runs
- In your browser, on your device.
- Cost
- Free, no sign-up.
Questions
Are empty lines numbered?
Yes, every line gets a number, so line numbers match the original.
Can I remove the numbers later?
Use Find & Replace with a regular expression like ^\d+\.