How to line numbers in word

Word for Microsoft 365 Word 2021 Word 2019 Word 2016 Word 2013 Word 2010 Word 2007 More…Less

Word can automatically count the lines in a document and display the appropriate number beside each line of text. This is useful when you need to refer to specific lines in a document, such as a script or a legal contract.

Example of line numbering

By default, Word numbers every line in a document (except those in tables, footnotes, endnotes, text boxes, and headers and footers). However, you can choose which line numbers to display. For example, you can display line numbers in all or part of the document. Or you can display line numbers at intervals, such as every tenth line (10, 20, 30, and so on).

What do you want to do?

  • Add line numbers

  • Remove line numbers

Add line numbers

You can add line numbers to all or part of a document. To view line numbers, you must be in Print Layout view (click the View tab to check).

Notes: 

  • A table is counted as one line.

  • A figure is counted as one line.

  • A text box is counted as one line if it is positioned inline with the text on the page. If text on the page wraps around the text box, the lines of text on the page are counted. Lines of text inside a text box are not counted.

Add line numbers to an entire document

  1. On the Layout tab, in the Page Setup group, click Line Numbers.

    Line Numbers in the Page Setup group

    Note: If your document is divided into sections and you want to add line numbers to the entire document, you first need to select the document. Click Select in the Editing group on the Home tab, and then click Select All. Or press CTRL+A.

  2. Do one of the following:

    • To number consecutively throughout the document, click Continuous.

    • To start with number 1 on each page, click Restart Each Page.

    • To start with number 1 after each section break, click Restart Each Section.

    • For more advanced line numbering options, such as numbering at different intervals, click Line Numbering Options, and then click Line Numbers on the Layout tab.

Add line numbers to a section or to multiple sections

  1. Click in a section or select multiple sections.

  2. On the Layout tab, in the Page Setup group, click Line Numbers.

    Line Numbers in the Page Setup group

  3. Click Line Numbering Options, and then click the Layout tab.

  4. In the Apply to list, click Selected sections.

  5. Click Line Numbers.

  6. Select the Add line numbering check box, and then select the options that you want.

Top of Page

Remove line numbers

You can remove line numbers from the entire document, from a section, or from a paragraph.

  1. Click in the document, or click in the section or paragraph from which you want to remove line numbers. If you want to remove line numbers from multiple sections, select the sections.

  2. On the Layout tab, in the Page Setup group, click Line Numbers.

    Line Numbers in the Page Setup group

  3. Do one of the following:

    • To remove line numbers from the entire document or section, click None.

    • To remove line numbers from a single paragraph, click Suppress for Current Paragraph.

Top of Page

What do you want to do?

  • Add line numbers

  • Remove line numbers

Add line numbers

You can add line numbers to all or part of a document. To view line numbers, you must be in Print Layout view (click the View tab to check).

Notes: 

  • A table is counted as one line.

  • A figure is counted as one line.

  • A text box is counted as one line if it is positioned inline with the text on the page. If text on the page wraps around the text box, the lines of text on the page are counted. Lines of text inside a text box are not counted.

Add line numbers to an entire document

  1. On the Page Layout tab, in the Page Setup group, click Line Numbers.

    Word Ribbon Image

    Note: If your document is divided into sections and you want to add line numbers to the entire document, you first need to select the document. Click Select in the Editing group on the Home tab, and then click Select All. Or press CTRL+A.

  2. Do one of the following:

    • To number consecutively throughout the document, click Continuous.

    • To start with number 1 on each page, click Restart Each Page.

    • To start with number 1 after each section break, click Restart Each Section.

    • For more advanced line numbering options, such as numbering at different intervals, click Line Numbering Options, and then click Line Numbers on the Layout tab.

Add line numbers to a section or to multiple sections

  1. Click in a section or select multiple sections.

  2. On the Page Layout tab, in the Page Setup group, click Line Numbers.

    Word Ribbon Image

  3. Click Line Numbering Options, and then click the Layout tab.

  4. In the Apply to list, click Selected sections.

  5. Click Line Numbers.

  6. Select the Add line numbering check box, and then select the options that you want.

Top of Page

Remove line numbers

You can remove line numbers from the entire document, from a section, or from a paragraph.

  1. Click in the document, or click in the section or paragraph from which you want to remove line numbers. If you want to remove line numbers from multiple sections, select the sections.

  2. On the Page Layout tab, in the Page Setup group, click Line Numbers.

    Word Ribbon Image

  3. Do one of the following:

    • To remove line numbers from the entire document or section, click None.

    • To remove line numbers from a single paragraph, click Suppress for Current Paragraph.

Top of Page

Need more help?

Organize your documents by numbering them

What to Know

  • Select Layout > Page Setup > Line Numbers > choose option > select Apply to drop-down > Selected sections.
  • Next, select Line Numbers > Add line numbering > OK.

This article explains how to add line numbers to documents in Word for Microsoft 365, Word 2019, 2016, 2013, 2010, and 2007.

How to Add Line Numbers to a Word Document

To include line numbers in a document:

  1. Go to Layout > Page Setup > Line Numbers.

    If the document is divided into sections and you want to add line numbers to the entire document, press Ctrl+A to select the entire document.

  2. Choose one of the following options:

    • Continuous: Allows consecutive numbering throughout the document.
    • Restart Each Page: Starts each page with the number 1.
    • Restart Each Section: Starts with number 1 after each section break.
    • Line Numbering Options: Allows more advanced line numbering options, for example, to number at different intervals.
  3. To add line numbers to a specific section or to multiple sections, choose Line Numbering Options to open the Page Setup dialog box, then select the Layout tab.

  4. Select the Apply to drop-down arrow and choose Selected sections.

  5. Select Line Numbers.

  6. Select the Add line numbering check box.

  7. Select any other options you want, then select OK to close the window.

  8. Select OK to save your changes.

All About Line Numbers

Microsoft Word automatically numbers all lines except for a select few. It counts an entire table as one line. It also skips text boxes, headers and footers, and footnotes and endnotes.

Microsoft Word does count figures as one line, as well as a text box that has inline with text wrapping applied. However, the lines of text within the text box are not counted.

You decide how Word handles line numbers. For example, apply line numbers to specific sections, or number lines in increments such as every tenth line.

Then, when it’s time to finalize the document, remove the line numbers and you’re ready to go.

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Home > Microsoft > How to Add Line Numbers in Word? A Step-by-Step Guide

Note: (This guide on how to add line numbers in Word is suitable for all Microsoft Word versions, including Office 365)

Microsoft Word is used for various purposes, from typing in and storing scripts to curating documents for legal procedures. Microsoft Word reigns above all the other documentation software because of the features and options it provides. One such feature enables you to keep track of the number of lines in your document. 

Microsoft Word keeps track of the number of characters and words automatically and shows them to the user, but it does not show the line numbers. If you are curating a document in Word and want to keep track of the number of lines you’ve written, you can easily toggle and add line numbers to each line and see your progress.

In this article, I will tell you how to add line numbers in Word in an easy way.

You’ll Learn:

  • Why Add Line Numbers in Word?
  • How to Add Line Numbers in Word?
    • Add Line Numbers to the Whole Document
  • Other Options While Adding Line Numbers
    • Line Numbering Options
  • Add Line Numbers to Particular Sections of the Document
  • How to Remove Line Numbers in Word?
Download Sample Document - How to Add Line Numbers in Word?
Download Sample Document – How to Add Line Numbers in Word?

Related Reads:

How to Insert Watermark in Word? 3 Easy Ways

How to Find and Replace in Word? 7 Simple Methods

How to Curve Text in Word? 2 Easy Ways

Why Add Line Numbers in Word?

Before we see how to add line numbers in Word, let us see what line numbers are and why they are important in certain cases.

Line numbers in Word are just like page numbers that refer to the lines on a page, excluding tables, headers, footers, charts, footnotes, and text boxes. They appear beside each line of the page and do not just appear for lines with text.

Line Numbers in Word
Line Numbers in Word

When you are curating legal or high-priority documents that contain a large amount of information, line numbers are used to point to the specific line of the document for any referral purposes. It also helps the writer to stay conscious of their content and not to tramp over the set number of lines. 

How to Add Line Numbers in Word?

In Word, you can:

  • Choose to either display the line numbers from the start of the content,
  • Start from in between the text, or 
  • Even choose to display them at certain intervals. 

Add Line Numbers to the Whole Document

To add line numbers to the whole document, first, make sure the layout is in the Print Layout. You can either change the layout from the View main menu ribbon or the Status bar at the bottom of the page. 

Choose the Print Layout
Choose the Print Layout
  • To add the line numbers, navigate to the Layout main menu ribbon. Under the Page Setup section, click on the dropdown from Line Numbers. Since we want to number each line for the whole document, click on Continuous.
Select Line Numbers and select Continuous
Select Line Numbers and select Continuous
  • Once you click on it, all the lines on that page up to the last cursor mark will be numbered.
How to Add Line Numbers in Word to the Whole Document
How to Add Line Numbers in Word to the Whole Document

Other Options While Adding Line Numbers

If you want to add line numbers to the whole document continuously, you can click on the Continuous option from the Line Number dropdown. However, there are different ways you can choose to add line numbers in Word.

  • To start numbering the lines on every page, click on the Restart Each Page option. That is, each page starts with line number 1.
  • If your document is split into sections and you want the lines in each section to be numbered separately, click on the Restart Each Section option. That is, each section starts with line number 1.
  • If you select Suppress for Current Paragraph, Word numbers each line of the document leaving the current paragraph you’re working on.

Line Numbering Options

If you want additional customization to line numbers, you can access them from the Page Setup dialog box. Under the Layout section, click on the Line Numbers button. This opens the Line Numbers dialog box where you can make personalized customizations to line numbers.

Use the Line Numbers dialog box to add additional customizations
Use the Line Numbers dialog box to add additional customizations

Suggested Reads:

How to Wrap Text in Word? 6 Wrap Text Options Explained

How to Track Changes in Word? A Step-by-Step Guide

How to Double Space in Word? 4 Easy Ways

Add Line Numbers to Particular Sections of the Document

Sometimes, you might not need to add line numbers to the whole document. In such a case, you can add line numbers to particular sections of the document either continuously or separately. 

  • To add line numbers to sections of the document, first, select the separate sections by holding the Ctrl key, left-clicking, and dragging the mouse pointer. 
  • Navigate to the Layout main menu ribbon. Under the Page Setup section, click on the dropdown from Line Numbers and click on the Line Numbering Options.
Select Line Numbering Options
Select Line Numbering Options
  • In the Page Setup dialog box, click on the Layout tab.
  • In the Apply to section, click on Selected Text and then click on the Line Numbers button.
Select Selected text and click Line Numbers
Select Selected text and click Line Numbers
  • This in turn opens the Line Numbers dialog box.
  • Check the Add line numbering checkbox and add the line numbering preferences of your own. 
Check the checkbox for Add line numbering and click OK
Check the checkbox for Add line numbering and click OK
  • Click OK.
  • This adds the line numbers to the selected section depending on your preference.
How to add line numbers to a section of document
How to add line numbers to a section of document

How to Remove Line Numbers in Word?

Line numbers sure are useful. But, in some cases, after adding the line numbers, you might want to remove them. You can remove the line numbers the same way you added them.

  • To remove the line numbers, go to the Layout main menu and under the dropdown from Line Numbers, click on None.
How to remove line numbers in Word
How to remove line numbers in Word
  • This immediately removes the line numbers from the document. 

In case you want to remove the line numbers for a particular paragraph or a section of the document, you can select that particular section and click on Suppress for Current Paragraph to remove the line number.

Note: If you have just added the line numbers, you can press Ctrl + Z to immediately undo the added line numbers. 

Points to Remember

  • If there is a table, a figure, an image, or a chart on the page, then Word counts them as a single line. 
  • The text inside the text box is counted as one line. However, if the text wraps around the text box, then the number of lines of the text is counted. 
  • The text inside the textbox is counted as one line.

Frequently Asked Questions

Why can’t I add line numbers in Word?

You can only add the line numbers in Word when the document is in the print layout. To change or check the layout, you can navigate to the View main menu or check them from the status bar. (martinwater.com)

How to add line numbers to the whole Word document?

To add line numbers, click on the Line Numbers drop-down from the Layout tab and click on the desired option.  

How to add line numbers for particular sections of the Word document?

First, select the document and navigate to the Layout main menu. Click on Line Numbers and Line numbering options. Under the Layout tab, click on Selected Text. Finally, click on the line numbers button, check the checkbox, and click OK to add the line numbers.

Also Read:

How to Save a Word Document? 3 Useful Ways

How to Merge Word Documents? – 3 Easy Methods

How to Change Orientation of One Page in Word? 3 Easy Ways

Closing Thoughts

Line numbers are a great addition to legal documents or scripts. Adding line numbers to your document helps the reader refer to and identify specific text in complex documents. 

In this article, we saw how to add line numbers in a Word document. Depending on your choice, you can choose to number the lines either continuously or restart them at each page or section. Additionally, we also saw how to remove them when not necessary.

For more high-quality guides on MS Word or Excel, please visit our free resources section. 

Ready to dive deep into Excel? Click here for advanced Excel courses with in-depth training modules.

Simon Sez IT has been teaching Excel and other business software for over ten years. For a low monthly fee, you can get access to 150+ IT training courses.

Simon Calder

Chris “Simon” Calder was working as a Project Manager in IT for one of Los Angeles’ most prestigious cultural institutions, LACMA.He taught himself to use Microsoft Project from a giant textbook and hated every moment of it. Online learning was in its infancy then, but he spotted an opportunity and made an online MS Project course — the rest, as they say, is history!

Word Logo

Adding line numbers to a Microsoft Word document can help you point others to exact positions within it, especially in documents with multiple pages. Here’s how to quickly add line numbers in Word.

These instructions should work for recent Office versions (from 2010 onwards). Before you begin, note that Word will treat tables and text boxes as if they’re on a single line, regardless of how large they are.

Adding Line Numbers to an Entire Document

To start adding line numbers, you’ll need to open your Word document. In the ribbon bar at the top, click on the “Layout” tab. From here, click the “Line Numbers” button.

A drop-down menu offers several potential options. To have line numbers that run through your document continuously, rather than restarting on each new page, click on the “Continuous” option.

To have the line numbers restart on each new page, select “Restart Each Page” instead.

Once selected, the line numbers will appear on the left side of the document page.

An example of line numbers being used in a Microsoft Word document

Line numbers will appear only in the print view mode, so if you have another viewing mode selected, click on the “Print Layout”  button in the bottom-right corner of your Word document window.

Adding Line Numbers to Individual Sections

It’s possible to separate pages of a Word document into individual sections using section breaks. You can set Word to restart the sequence of line numbers with each new section break.

RELATED: How to Find Section Breaks in a Word Document

In your Word document, click the “Layout” tab in the ribbon bar and then click on the “Line Numbers” button. Select “Restart Each Section” from the drop-down menu.

If you want to add a new section break, click the “Breaks” button. This is just above the “Line Numbers” button in the “Layout” tab.

From there, click “Continuous” to add a new section break without shifting the Word cursor to a new page.

A new set of line numbers will begin immediately underneath the newly-inserted section break.

An example of line numbers in Word, with a new sequence of numbers starting after a section break

Removing Line Numbers

If you’d prefer to remove line numbers from your document, in whole or in part, you can also do this from the “Line Numbers” menu (Layout > Line Numbers).

To remove them from your document entirely, click “None” in the “Line Numbers” drop-down menu.

If you want to hide them from a particular paragraph, click on the paragraph and then select “Suppress for Current Paragraph” from the “Line Numbers” drop-down menu instead.

This will completely remove the paragraph from the line numbers sequence. The sequence will restart with the following number on the next line immediately underneath the paragraph.

An example of line numbers missing a paragraph in Word

Line Number Formatting

By default, your line numbers will appear with the same font, size, and color as specified by the default “Line Number” style in Word. To modify the appearance of your line numbers, you’ll need to modify this text style, although Word hides it by default.

First, click on the “Home” tab in your ribbon bar. Click the vertical arrow menu button in the lower-right corner of the “Styles” section. This will bring up an extra pop-up “Styles” menu.

From there, click the “Options” button.

In the “Select Styles to Show” drop-down menu, select “All Styles” before clicking the “OK” button to save.

In the Style Pane Options menu, choose All Styles from the Select Styles to Show drop-down menu

You’ll now be able to edit the “Line Number” font style.

In the pop-up “Styles” menu, find the “Line Number” option. Click on the side menu arrow next to the listing and then click on the “Modify” button.

In the “Modify Style” menu, edit the formatting options for your line number style, as appropriate.

Click “OK” to apply the new style to your line numbers.

Once applied, your new font style will be applied to all of the line numbers in your Word document.

READ NEXT

  • › How to Number Paragraphs in Microsoft Word
  • › BLUETTI Slashed Hundreds off Its Best Power Stations for Easter Sale
  • › How to Adjust and Change Discord Fonts
  • › The New NVIDIA GeForce RTX 4070 Is Like an RTX 3080 for $599
  • › HoloLens Now Has Windows 11 and Incredible 3D Ink Features
  • › This New Google TV Streaming Device Costs Just $20
  • › Google Chrome Is Getting Faster

By default, Word keeps track of every line, word, and character in a document, and displays their numbers when the user demands.

Although Word normally does not display line numbers automatically, you can choose to do so.

For instance, you can ask Word to display line numbers in the entire document or only in some part.

You can also choose to display line numbers at certain intervals, say, at every tenth line as 10, 20, 30, 40, and so on.

Adding line numbers to a document has its advantages, especially for large documents with multiple pages.

This is useful when referring to a specific line or word in a document—like 254th line, or 4th word in the 50th line, and so on.

Just a note before we begin.

If you have tables, figures, or text boxes in your document, Word will count them as single line entities, regardless of how large they are.

Moreover, Word will display line numbers for documents only in the Print Layout, and not in Read Mode or Web Layout.

Let us start adding line numbers to our Word document.


Step #1: Open the Word document

Open the Word document where you want to add line numbers. On the top menu bar click on Layout to change the ribbon.

In the Page Setup section, click on Line numbers. Word opens a drop down menu with several choices:

  • None
  • Continuous
  • Restart Each Page
  • Restart Each Section
  • Suppress for Current Paragraph
  • Line Numbering Options

None—this is the default choice, where Word does not display any line numbering. This is also the choice if you want Word to stop displaying any line number.

Continuous—this choice allows Word to display a continuously incrementing line number on the left side of all lines throughout the document. Note that Word treats tables, images, and text boxes embedded in the document as a single line and numbers them as such.

Restart Each Page—as the choice suggests, Word restarts the numbering for each page.

Restart Each Section—If your document is divided into sections with a section break, Word will restart the numbering on each section, but you must turn on the numbering for each section separately. Additionally, as Word treats formatting of each section separately, you can have different numbering schemes for each of them. Note that Word attaches a line number to the blank line as well. 

Suppress for Current Paragraph—If you have already adorned the document with line numbers regardless of page or section, this choice allows Word to remove line numbering from the paragraph immediately after the cursor, and arrange the line numbering for the following paragraphs accordingly.

Line Numbering Options—this option allows setting the defaults for line numbering options in a Word document. Clicking on this option opens a dialog box for Page Setup.

Click on the Layout tab. Click on the down arrow mark on the right of Apply to, to open the choices for where you would like to apply the selections. Word offers three options:

  • This Section
  • This Point Forward
  • Whole Document

This section—the choices you make will apply only to the current section defined by the cursor location.

This point forward—the choices you make will apply to the section immediately following the cursor location.

Whole document—the choices you make will apply to the entire document.

Once you have made your selection, click on Line Numbers to open the next dialog box for Line Numbers. Word offers a number of choices here for adding line numbering and for placement of line numbers:

Add line numbering— Click on this option and ensure a tick-mark is present in the square on the left to allow making further choices.

Start at—this number tells Word how to start line numbering. For instance, setting Start at to 10, tells Word to start line numbering from 10, rather than from the customary 1.

From text—this setting defines the gap in inches or centimeters between the line number and the text in the line. Auto allows Word to make automatic adjustments.

Count by—this setting defines the increment Word uses when numbering lines. Default is 1, implying continuous numbering.

Restart each page—choosing this option sets the default for line numbering to restart on each page.

Restart each section—choosing this option sets the default for line numbering to restart on each section.

Continuous—Choosing this option sets the default for a continuously incrementing line numbering for the document.

Step #2: Close dialog box for line numbers

Once you have made your choices, click on Ok to close the dialog box and return to Page Setup dialog,

Step #3: Return to document

Close this by clicking on Ok to return to the document. By now, Word would have applied your choices of line numbering to your document.


Conclusion

It is easy to display line numbering in a Word document—once you know what type of line numbering you want. Just follow the simple three-step method we have outlined above.

Here is how you can add line number in a google doc.

Like this post? Please share to your friends:
  • How to learn the english word
  • How to linking in excel
  • How to link words in word
  • How to learn ms excel
  • How to line space in word