Premium tools, free for everyone. Most run right in your browser.

OpenMultiURL

Add Line Numbers

Add Line Numbers puts a number before each line of text, ready to copy into a draft, list or review. It runs in your browser and follows actual line breaks, not rows created by text wrapping on your screen.

  • Free, no subscriptions
  • Runs in your browser
  • Checked by AK Shine
See how it works before you use your own.

What is the Add Line Numbers?

Add Line Numbers is a free tool that adds numbered prefixes to plain-text lines for students, writers, editors and developers. Paste into Your text and the Numbered text result updates as you type. Choose a starting number, an increment and a separator to make references easier to share. Empty lines stay in place and, by default, do not receive or use up a number. You can also add leading zeros to align the numbers. The result is ordinary text you can copy into another app, not live numbering tied to a document's layout.

Who it is for: Students, writers, editors, developers and office workers can use it to prepare lists, drafts and text for review.

How to use the Add Line Numbers

  1. Paste or type your lines into Your text.
  2. Set Start at and Count up by, or leave both at 1 for consecutive numbering.
  3. Choose a separator from After the number, such as Full stop and space, Tab or Bar.
  4. Leave Do not number empty lines on to skip blank lines, and turn on Line the numbers up with zeros (01, 02 ... 10) if you want padded numbers.
  5. Check the Numbered text box and the lines numbered count, then tap Copy result.

Why use it

  • Make feedback specificGive each text line a number so someone reviewing your draft can point to an exact place.
  • Choose your sequenceStart at 0, a negative number or another whole number, and set the increment you need.
  • Keep blank linesPreserve gaps between sections without using up numbers when Do not number empty lines is on.
  • Keep text on your deviceNumber drafts and private notes in your browser without uploading their contents.

At a glance

What you put in
Plain text with line breaks; starting number, whole-number increment and separator
What you get
Numbered plain text and a count of lines numbered
Limits
Line-based numbering only; existing numbers are not removed
Privacy
Runs in your browser. Nothing you enter is uploaded or stored.
Price
Free for everyone. No subscriptions, no payments, no watermark.
Works offline
Yes, once the page has loaded
Last checked
by AK Shine

Worked example

Input
apple
banana
cherry
Result
1. apple
2. banana
3. cherry

With Start at 1, Count up by 1 and Full stop and space selected, three lines receive numbers 1 through 3.

When to use something else

  • For margin numbers, page-by-page restarting or formal filing layouts, use a word processor with document line numbering and check the submission rules.
  • It numbers lines, not sentences or paragraphs: a paragraph without line breaks receives one number, even if it wraps across several screen rows.
  • It does not remove existing numbers, and copied numbers are static text; edit the unnumbered source and copy a fresh result when the sequence changes.

Questions people ask

How do I add line numbers to text online?

Paste your text into Your text and the result appears immediately in Numbered text. The defaults add 1, 2, 3 and so on, each followed by a full stop and a space. Tap Copy result to use it elsewhere.

Can I start at 0 or count in steps of 10?

Yes. Set Start at to 0 for zero-based numbering, or use a negative starting number. Set Start at to 10 and Count up by to 10 for 10, 20, 30; the increment can be any whole number.

Can I skip blank lines but keep the gaps?

Yes. Do not number empty lines is on by default, so empty lines stay in place without receiving or using up a number. Turn it off if you want empty lines to receive numbers too.

Which separators can I put after each number?

After the number offers a full stop and space, closing bracket and space, colon and space, space, tab, or bar. For example, the first line can begin with "1. ", "1) " or "1 | ".

How do I get numbers like 001, 002 and 003?

Turn on Line the numbers up with zeros (01, 02 ... 10). Padding uses the width of the largest number, so numbering 100 lines from 1 in steps of 1 produces 001 through 100.

Can I add line numbers to code?

Yes, you can paste code into Your text to make a numbered copy for discussion or review. The prefixes become part of the text, so keep your original code for running or compiling.

Will the numbers update after I edit the text?

Changes in Your text update Numbered text as you type. Once you copy the result into another app, those numbers are ordinary text and will not renumber themselves after edits.

Is this free, and is my text uploaded?

It is free, with no subscriptions, and your text is processed in your browser without being uploaded. The tool also works offline once loaded.

Next, you might need