Custom Starting Number
Start at any line number to continue numbering from a previous section or match an existing document's line references.
500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.
Add line numbers to text with custom start, padding, separator, and empty-line handling.
Adding line numbers to text is a small task that comes up more often than you would expect: sharing a code snippet where you need to reference specific lines in a discussion, preparing a document for review where annotators will cite line numbers, creating a numbered script or screenplay, or generating a quiz answer key with numbered items. Line Numberer adds line numbers to any block of text with full control over the starting number, separator character (colon, tab, period, or space), number padding width, and how empty lines are treated. Numbers can start at any value, allowing continuation from a previously numbered section. Padding with leading zeros ensures alignment in monospace contexts.
Start at any line number to continue numbering from a previous section or match an existing document's line references.
Choose colon, tab, period, or space to match the formatting convention of your document or code style.
Pad numbers with leading zeros so columns align correctly in monospace code editors and terminals.
Decide whether blank lines get a number or are skipped — important for prose documents where blanks are paragraph breaks.
Output updates in real time as you adjust settings — no need to re-paste your text for each configuration change.
Useful equally for code snippets shared in forums, numbered draft documents, quiz answer keys, and stage scripts.
Input: function hello() { return 'world'; }
Output: 1: function hello() { 2: return 'world'; 3: }
Input: Line one Line two Line three
Output: 001: Line one 002: Line two 003: Line three
Input: Apple Banana Cherry
Output: 10 Apple 11 Banana 12 Cherry