📝 Add Line Numbers to text & lists
Add sequential line numbers to any pasted text or list, perfect for code excerpts, scripts and numbered instruction sets.
How it works
- Type or paste your text into the input box — there is no practical length limit.
- Click one of the operation buttons (Add line numbers) to transform the text instantly.
- The result appears in the output box; use the Copy button to copy it to your clipboard.
- All processing happens locally in your browser — your text is never uploaded anywhere.
Examples
- Input "alpha ⏎ beta ⏎ gamma" → click "Add line numbers" → output "1. alpha ⏎ 2. beta ⏎ 3. gamma".
- Paste as much text as you like — long lists and whole documents work, not just short samples.
Frequently asked questions
What does the Add Line Numbers do?
Add sequential line numbers to any pasted text or list, perfect for code excerpts, scripts and numbered instruction sets.
Is my text or data uploaded to a server?
No. The Add Line Numbers runs entirely in your browser using JavaScript — nothing you type or paste is sent anywhere, and everything disappears when you close the tab.
Is this tool free to use?
Yes, completely free with no sign-up, no watermarks and no usage limits. Add Line Numbers is part of a collection of free tools where new tools are added after review.
Does it work on phones and tablets?
Yes. The layout is fully responsive and all processing is done on your device, so it works on any modern phone, tablet or computer — even offline once the page has loaded.
Related tools
More Text tools →Word Counter
Count words, characters, sentences and paragraphs instantly, with reading time and keyword density. Free, private, no sign-up — runs in your browser.
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE with one click.
Reading Time Calculator
Estimate reading time from word count and a words-per-minute pace.
Word Frequency Counter
Rank the words in a text by how often they appear, privately in the browser.