Add line numbers
Paste text or code to number every line. Choose the starting number, step, format such as "1." or "1)", and leading zeros. It can also strip existing line numbers.
- ๐ Runs on your device
- โค 0 bytes uploaded
- โ Free, no sign-up, no watermark
How to use Add Line Numbers
- Paste your text or code.
- Choose the start, step and format.
- Copy or download the numbered text.
Is it private?
Yes. Add Line Numbers runs entirely in your web browser: what you type into it is never sent to Nolo or anyone else, and the page's security policy only allows it to talk to nolotools.com. The site sends only two small things: the words typed in the optional search box, to find a tool, and, the first time you use a tool on a page, that tool's name for an anonymous daily count of tool use (nothing about you, your files or what you typed). Nothing is stored either: close the page and it is gone. How Nolo works.
Questions and answers
Can I skip blank lines?
Yes. Turn on Skip empty lines so blank lines get no number and the numbering continues on the next line with text.
Can I remove line numbers from copied code?
Yes. Choose Remove numbers. It strips a number at the start of each line followed by a dot, bracket, colon, bar, tab or space.
Can numbers line up?
Yes. Choose "Align with spaces" or "Leading zeros" so 1 and 100 take the same width.
Is my text uploaded?
No. Everything runs in your browser.