Add Line Numbers
Add customizable line numbers to text or remove existing numeric prefixes locally in your browser.
🔒 Runs entirely in your browser — nothing is uploadedAdd numbers to every line
Line numbers make text easier to discuss, review and reference. They are useful for meeting notes, scripts, classroom examples, short code snippets, issue reports, poems, transcripts and checklists. This tool adds a number to each line with a custom starting value and separator. You can create formats such as “1. text,” “1) text,” “1: text” or tab-separated numbers without editing each line by hand.
The conversion keeps blank lines in place and numbers them like any other line, which helps preserve the original structure of pasted content. If you need to skip empty lines, remove them first with a cleanup tool and then return here. The result updates live as you type, so it is easy to adjust the starting number or separator until the output matches the format required by your document.
Remove existing line numbers
Remove mode strips common numeric prefixes from copied text. It recognizes patterns such as “1. text,” “1) text,” “1: text” and “[1] text.” This is helpful when you copy numbered examples from a web page, transcript, PDF export or old note and want clean lines for editing. The mode only removes a number at the beginning of each line, so numbers in the middle of sentences stay untouched.
Browser-only formatting
Numbering and cleanup happen locally with plain JavaScript. No pasted text is sent to a server, saved to an account or stored by the page. Review the output before using it, especially if the input has unusual numbering or indentation. For everyday list preparation and document cleanup, this page gives a quick private workflow: paste, choose a mode, copy and continue working.
Like the rest of Text Tools, this page is designed for quick, repeatable utility work rather than account-based storage. Keep the original text nearby when the output matters, review the result, and copy only the final version you want to use. Refreshing the page clears the working area from the browser interface.
How to use
- Paste textAdd code, lyrics, notes, logs or any line-based content.
- Add or remove numbersChoose a starting number and separator, or switch to remove-number mode.
- Copy outputCopy the numbered or cleaned lines back into your document.