Category: Text tools
Line Numberer
Add or remove line numbers with a custom format
Add a numbered prefix to every line with a custom start number, zero-padding and separator, skip blank lines, or strip numbers back off. Runs entirely in your browser.
1. First line 2. Second line 3. 4. Fourth line after a blank one
Everything on this page is processed in your browser. Nothing is uploaded.
What this tool does
Add a numbered prefix to every line of text, with a custom start number, zero-padding, separator and an option to skip blank lines, or strip numbers back off. Numbering a pasted list, a code snippet for a tutorial, or a script for a table read is mostly a matter of format: where the counting starts, how many digits to pad to, and what sits between the number and the text. This tool applies that format to every line locally, and can also reverse it, stripping a matching numeric prefix back off so a numbered list can be pasted somewhere else as plain text again.
How to use it
- Paste or type the text you want numbered into the input box; every line break starts a new numbered item.
- Set the start number, the zero-padding width and the separator, then decide whether blank lines should be skipped or counted.
- If your text already carries numbers, switch to "Remove numbers" to strip the matching numeric prefix back off and get plain text again.
Privacy
This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.
Frequently asked questions
- How do I use Line Numberer?
- Paste or type your text into the input box, then set the start number, zero-padding, separator and whether to skip blank lines. Each line of your pasted text gets the numbered prefix you configured — the formatting is yours to choose rather than a fixed template.
- Which inputs and options does Line Numberer support?
- The input is text you paste or type, processed line by line. The options are the start number, zero-padding, the separator between number and text, whether blank lines are skipped, and a "Remove numbers" mode that strips a matching numeric prefix. Nothing beyond that list is supported.
- How do I view or copy the result?
- The numbered text appears in the output area on the page, and you select and copy it yourself. There is no export, download or file-saving feature, and no result is stored in an account.
- Is my input, file, or result uploaded?
- No. Inputs, files, settings and results stay in the browser and are not uploaded to LocalTools. Both numbering and number removal run locally on your device, with no server upload and no cloud processing.
- What does this tool not support?
- It has no accounts, sync or cloud history, no server-side processing, no batch file handling, and no numbering formats or algorithms beyond the ones on the page. Its scope is the start number, zero-padding, separator and skip-blank-lines settings, plus removing a matching numeric prefix.