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.
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
-
On the Layout tab, in the Page Setup group, click Line Numbers.
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.
-
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
-
Click in a section or select multiple sections.
-
On the Layout tab, in the Page Setup group, click Line Numbers.
-
Click Line Numbering Options, and then click the Layout tab.
-
In the Apply to list, click Selected sections.
-
Click Line Numbers.
-
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.
-
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.
-
On the Layout tab, in the Page Setup group, click Line Numbers.
-
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
-
On the Page Layout tab, in the Page Setup group, click Line Numbers.
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.
-
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
-
Click in a section or select multiple sections.
-
On the Page Layout tab, in the Page Setup group, click Line Numbers.
-
Click Line Numbering Options, and then click the Layout tab.
-
In the Apply to list, click Selected sections.
-
Click Line Numbers.
-
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.
-
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.
-
On the Page Layout tab, in the Page Setup group, click Line Numbers.
-
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:
-
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.
-
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.
-
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.
-
Select the Apply to drop-down arrow and choose Selected sections.
-
Select Line Numbers.
-
Select the Add line numbering check box.
-
Select any other options you want, then select OK to close the window.
-
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
Add line numbers to a section or to multiple sections
- Click in a section or select multiple sections.
- On the Layout tab, in the Page Setup group, click Line Numbers.
- Click Line Numbering Options, and then click the Layout tab.
- In the Apply to list, click Selected sections.
- Click Line Numbers.
Contents
- 1 How do I add line numbers in Word for Mac?
- 2 How do I number every 5th line in Word?
- 3 How do you get line numbers on every 5 lines?
- 4 How do we show line numbers next to the code?
- 5 How many lines are in a Word document page?
- 6 How do I change line number in Word?
- 7 How do you display line numbers in VS?
- 8 How do I find line numbers?
- 9 How do I count the number of rows in word?
- 10 Does Word Count Count Lines?
- 11 How do you insert a line across the page in word?
- 12 Why can’t I see line numbers in Word?
- 13 How do I move line numbers to the right?
- 14 How do I change line number font?
- 15 How do I show line numbers in IntelliJ?
- 16 How do I show line numbers in vim?
- 17 How do you number lines in a text file?
- 18 How do I show line numbers in less command?
- 19 How do I show line numbers in nano?
- 20 How do I copy line numbers in Word?
How do I add line numbers in Word for Mac?
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.
How do I number every 5th line in Word?
How to number every nth line in Word 2013
- On Page Layout tab, click on Line Numbers and click Line Numbering Options…
- Page Setup opens.
- Line Numbers windows opens.
- You can start numbering at a specific number (Start at), control number position (From text) and number every nth line (Count by).
How do you get line numbers on every 5 lines?
Add line numbers to a section or to multiple sections
- Click in a section or select multiple sections.
- On the Page Layout tab, in the Page Setup group, click Line Numbers.
- Click Line Numbering Options, and then click the Layout tab.
- In the Apply to list, click Selected sections.
- Click Line Numbers.
How do we show line numbers next to the code?
Display line numbers in code
- On the menu bar, choose Tools > Options. Expand the Text Editor node, and then select either the language you’re using or All Languages to turn on line numbers in all languages.
- Select the Line numbers checkbox.
How many lines are in a Word document page?
The standard number of lines per page tends to be 46.
How do I change line number in Word?
Simply follow these steps:
- Display the Home tab of the ribbon.
- Click the small icon at the bottom-right of the Styles group.
- Hover the mouse pointer over the Line Number style.
- Click on the drop-down arrow and choose the Modify option from the resulting menu.
How do you display line numbers in VS?
1 Answer. On the menu bar, choose Tools, Options. Expand the Text Editor node, and then select either the node for the language you are using, or All Languages to turn on line numbers in all languages.
How do I find line numbers?
You can find out the phone number for your local phone company by looking at your monthly bill or dialing “411” from your phone line. Verify your identity.
How do I count the number of rows in word?
Right-click on the selected table and select Table Properties from the shortcut menu. Click on the Row tab — the number of rows selected is listed at the top of the dialog box.
Does Word Count Count Lines?
Word counts the number of words in a document while you type. Word also counts pages, paragraphs, lines, and characters.
How do you insert a line across the page in word?
Press Ctrl+A to select all the text in your document. Click Home > Shrink Font one or more times. As you click Shrink Font, Word decreases the size of every font in your document.
Why can’t I see line numbers in Word?
To use line numbers in Word, you must be in Print Layout view. Go to the View tab and click Print Layout in the Views section of the ribbon. Next, insert the numbers by heading to the Layout tab. Click the Line Numbers button in the Page Setup section of the ribbon.
How do I move line numbers to the right?
Remember though, it is not section alignment alone. For line numbers to appear in the right margin you must set the section alignment to right to left “and” have a right to left script language enabled.
How do I change line number font?
Process
- Go to the Home tab of the Ribbon after enabling line numbering.
- Under Styles, click the Dialog Box Launcher arrow to open the Styles pane.
- In the Styles pane, click Options.
- Under “Select styles to show” in the Options window, select “All styles”.
- Click OK to exit out of the Options window.
How do I show line numbers in IntelliJ?
IntelliJ IDEA 15
- File > Settings… > Editor > General > Appearance > Show line numbers.
- Hit Shift twice > write “line numbers” > Show Line Numbers (that one that has the toggle) > change the toggle to ON.
How do I show line numbers in vim?
How to display line number in vim
- Press the ESC key.
- At the : prompt type the following command to run on line numbers: set number.
- To turn off line numbering, type the following command at the : prompt again: set nonumber.
- One can set relative line numbers by typing: :set relativenumber.
How do you number lines in a text file?
4 Answers. In notepad , you can type Ctrl + g to view current line number. It also at bottom-right corner of status-bar.
How do I show line numbers in less command?
All you have to do is pass either -N or –LINE-NUMBERS option to the less command. This option forces less to show a line number at the beginning of each line in the screen.
How do I show line numbers in nano?
You can ask nano to temporarily turn on line numbers by pressing Alt-C (meaning “Hold down the Alt key and the C key simultaneously”). This will show line and column numbers near the bottom of nano’s window.
How do I copy line numbers in Word?
Assuming there is a consistent amount of space between the margin and the first desired word on each line, what you could do after pasting is to use a block cut (Shift-Alt and drag the cursor over the desired area, followed by Ctrl-X), then select all the lines, delete what’s left, then paste again – voila! the numbers
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.
If you are looking for quick help to show or insert line numbers in Word:
- Go to the Page Layout Tab
- In the Page Setup category, click on the Line Numbering Button.
- A list of line numbering option will appear
- Select the Continuous option to number all lines consecutively
- Select the Restart Each Page option to restart line numbering on every new page.
These are the steps you may use to insert line numbers in
Word.
However, if you want more details, keep sliding down this page to learn everything about line numbering in MS Word.
This term can be a bit confusing for many.
A great number of MS Word users don’t even think that it is interesting to them, let alone relevant.
The case is different for others: attorneys to be specific. People
working with legal documents do in fact need to know the answer to “What
is the Line Number?”. I’m not an attorney though, but I do know that legal
documents do require line numbers running down the pages.
What are Line Numbers in Word?
Line numbers (not to be mistaken with numbered list) are numbers that count the number of lines in a Word document while showing the appropriate number beside each line of text.
By default, Word automatically counts and number every line in a document (except those in endnotes, footnotes, text boxes, tables, headers, and footers. However, you may not see these numbers because they are hidden. And until you take some steps to display it, you’ll never see it.
NOTE: Line numbers are different from a numbered list.
How to insert line numbers in word
Word automatically performs line numbering in your Word document; however, it doesn’t show the numbers. This means that if you want to see your document numbered line after line, then you need to take some action to display it.
Without further ado, below are the steps on how to insert
line numbers in Word:
- Click on the Layout tab.
- In the Page Setup category, click the Line
Numbering button
The Line numbering shortcut menu appears from which you can
select the numbering options. By default, the None option is selected in
all MS Word documents, which means “don’t show line numbers”.
- Choose the line numbering option you want.
- Continuous option will number all lines in the document consecutively from the first page to the last page.
- Restart Each Page option will restart the line numbering on every new page in the document.
- Restart Each Section (for multi-section document) will restart the line numbering on every new section in the document. If the document has only one section, then the Restart Each Section option will work just like the Continuous option.
PRO TIP: If you need only a portion of the document
numbered, use section breaks to set those portion or pages into their own
sections and apply the line numbering to that section only by using the Restart
Each Section option.
- Suppress for Current Paragraph can be used if you’ve inserted the line numbers already, but would like the current paragraph unnumbered.
How to remove line numbers in Word
To remove line numbering in Word:
- Go to the Page Layout Tab
- In the Page Setup category, click on the Line
Numbering Button. - A list of line numbering option appears
- Select None to remove the numbering completely
- Or select Suppress for Current Paragraph
to remove line numbers for the current paragraph only.
How to format line number in Word
If you desire to format line numbering in Word, you first need to display the line numbers dialog and then set some options, like how far away from the text the numbers should appear.
To format line numbers, obey the following steps:
- Click on the Layout tab
- In the Page Setup group, click the Line
Numbering button.
- A shortcut menu appears, click on the Line
Numbering Options.
The Page Setup dialog will appear.
- On the Page Setup dialog box, click on the
Layout Tab - Now click on the Line numbers… button.
The Line Numbers dialog appears.
Almost all the options on this dialog box are already in the Line Numbers shortcut menu. The only item that isn’t there, however, is the From Text option which can be used to adjust the distance between the text and the line numbers.
Basically, this is all about line numbers in Word you should
know.
If you have any questions, you can post them in the comment section below this article.