Word tasks · Layout
Number the lines of a Word document for review copies
When reviewers need to say “line 142” instead of “somewhere on page 6,” line numbers turn a vague comment into an exact pointer. This guide turns line numbering on, chooses whether it runs continuously or restarts, sets the count interval so long documents stay readable, and switches numbering off for headings, tables and other paragraphs that should not be counted.
Turn line numbers on
Line numbering is a Layout setting, not typed text. Microsoft covers the same route in its help on adding or removing line numbers: Layout > Line Numbers, then pick a counting mode. Numbers appear in the left margin in Print Layout view.
- Switch to Print Layout view. Choose View > Print Layout. Line numbers do not display in Draft or Web Layout view, even when they are on.
- Open Layout > Line Numbers. On the Layout tab, in the Page Setup group, select Line Numbers.
- Choose Continuous for a first review copy. Continuous counts every line from the start of the document to the end without resetting — the simplest scheme for reviewers quoting a single line number.
- Check a page. Numbers appear beside each line of body text. Headings are counted by default too; the suppress section below covers excluding them.
Continuous, restart per page, or restart per section
The Line Numbers menu offers four working modes. Pick by how reviewers will refer to the text.
- Continuous. One unbroken count through the whole document (or the whole section, if the document has several). Best for a single review pass where every reference must be unique.
- Restart Each Page. Counting starts again at the top of every page, so references take the form “page 4, line 12.” Common for manuscripts, scripts and legal drafts circulated for comment.
- Restart Each Section. Counting restarts after each section break, so each chapter or part has its own count. Useful when sections are reviewed by different people.
- Suppress for Current Paragraph. The same menu carries this command for the paragraph the cursor is in — covered in detail below.
Line numbering is set per section. In a document with section breaks, changing the mode with the cursor in one section changes that section. To set the whole document at once, select all (Ctrl+A) before opening Line Numbers, or repeat the setting in each section.
Set the start number, interval and distance
The Line Numbering Options dialog controls the details: where counting starts, how often a number is printed, and how far the numbers sit from the text.
- Open Line Numbering Options. Choose Layout > Line Numbers > Line Numbering Options, then select the Line Numbers button on the Layout tab of the dialog that opens.
- Check Add line numbering. This box must be checked for any of the other settings to take effect.
- Set Start at. Begin counting at a number other than 1 — for example, to continue a count from a previous part of a larger work.
- Set From text. The distance between the numbers and the body text. Increase it if numbers crowd the margin text; decrease it if they drift toward the page edge.
- Set Count by. Print a number only every N lines — every 5 or every 10 is typical for long documents. The lines are still counted; only the printed labels are thinned, so line 37 sits between the printed 35 and 40 and reviewers count forward.
- Confirm the restart choice and select OK twice. The dialog repeats the Continuous / Restart each page / Restart each section choice; make sure it matches the mode you intended, then OK out of both dialogs.
Suppress numbering for selected paragraphs
Some paragraphs should not consume line numbers: headings, a title block, captions, or a table whose rows would throw the count off. Suppress them individually.
- Select the paragraphs to exclude. Click in one paragraph, or drag to select several — for example, all the headings in a short document, one at a time.
- Choose Suppress for Current Paragraph. Open Layout > Line Numbers and select Suppress for Current Paragraph. The selected paragraphs lose their numbers and are skipped by the count; following lines renumber accordingly.
- Repeat where needed, then re-check the count. Suppression is per paragraph (or selection), not a style setting, so new headings added later are counted until you suppress them too.
Text in text boxes, headers and footers, footnotes and endnotes, and table cells is not line-numbered in the main count in the first place — if a passage has no numbers, check whether it lives in one of those containers before changing settings.
End state
- Every body line carries a number in the left margin (or every fifth or tenth line, if you set Count by), visible in Print Layout and in print.
- The counting mode matches the review plan: continuous, per page, or per section, applied to every section that needs it.
- Headings and any other paragraphs you suppressed show no numbers and do not shift the count of the lines around them.
When it goes wrong
- No numbers appear at all. You are not in Print Layout view, or Add line numbering is unchecked in Line Numbering Options. Switch the view first; it is the most common cause.
- Numbers stop and restart unexpectedly mid-document. There is a section break there and the next section has a different mode. Click in the later section and set its Line Numbers mode to match.
- Only some pages are numbered. The setting was applied to one section only. Select all (Ctrl+A) and reapply, or set each section deliberately.
- Table lines have no numbers. Tables are not counted in the main line count. If reviewers must reference table rows, number the rows in a first column of the table itself.
- Numbers overlap the text in print. Increase From text distance in Line Numbering Options, or widen the left margin under Layout > Margins.
Related document tasks
-
Number the equations in a Word document and cross-reference them
Number equations in Word and cross-reference them: give each equation an Equation caption so Word supplies the number, insert cross-references from the text with Insert reference to label and number, and update all fields with F9.
-
Save a Word document as a clean PDF without showing tracked changes
A PDF made from a reviewed document can betray the whole review — red insertions, strikethrough deletions and comment balloons printed right on the page — if the markup is still showing when you save.
-
Show the cover pages of a Word document with Roman numeral page numbers
Show the cover pages of a Word document with Roman numeral page numbers: split the front matter into its own section, unlink its footer, set the number format to i, ii, iii, and restart the main body at page 1.
-
Turn a Word document into a web page
You have the document finished in Word, and what you actually need is a page someone can open in a browser — no Word, no download, no attachment.
Sources
- Microsoft Support, Add or remove line numbers — the Layout > Line Numbers modes, Line Numbering Options (start at, count by, distance), and suppressing numbering for selected paragraphs.