Add or remove line numbers

Word can automatically count the lines in a document and display the appropriate number next to each line of text. This is useful if you have to refer to specific lines in a document, such as a script or legal contract. By default, Word numbers every line in a document (except those in tables, footnotes, endnotes, text boxes, frames, and headers and footers). However, you can choose which line numbers to display. For example, you can include line numbers in all or part of the document. You can also include line numbers at intervals, such as every tenth line (10, 20, 30, and so on). If you do not want Word to count specific lines, such as a heading or a blank line, you can skip line numbers for these items and continue numbering the subsequent lines.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, click Line Numbers, and then select the option that you want.

  1. On the View menu, click Print Layout.

  2. Select the text that you want to number.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. On the Apply to list, click Selected text.

  5. Click Line Numbers.

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

  7. Click OK.

    Word automatically inserts a section break before and after the text with the line numbers.

  1. On the View menu, click Print Layout.

  2. Click in a section, or select multiple sections.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. On the Apply to list, click This section.

  5. Click Line Numbers.

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

  7. Click OK.

  1. On the View menu, click Print Layout.

  2. Select the section that you want to remove line numbers from.

  3. On the Layout tab, click Line Numbers > Line Numbering Options.

  4. Click Line Numbers.

  5. Clear the Add line numbering check box, and then click OK.

  6. Click OK.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, click Line Numbers > Line Numbering Options.

  3. Click Line Numbers.

  4. Clear the Add line numbering check box, and then click OK.

  5. Click OK.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, under Text Layout, click Line Numbers, and then select the option that you want.

    Layout tab, Text Layout group

  1. On the View menu, click Print Layout.

  2. Select the text that you want to number.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. On the Apply to pop-up menu, click Selected text.

  5. Click Line Numbers.

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

    Word automatically inserts a section break before and after the text with the line numbers.

  1. On the View menu, click Print Layout.

  2. Click in a section, or select multiple sections.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. Click Line Numbers.

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

  1. On the View menu, click Print Layout.

  2. Select the section that you want to remove line numbers from.

  3. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  4. Click Line Numbers.

  5. Clear the Add line numbering check box.

  1. On the View menu, click Print Layout.

  2. On the Layout tab, under Text Layout, click Line Numbers, and then click More Line Numbering.

    Layout tab, Text Layout group

  3. Click Line Numbers.

  4. Clear the Add line numbering check box.

See also

Add or remove page numbers

Insert, delete, or change a section break

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×