How to add page numbers in Google Docs

Add page numbers in Google Docs with Insert > Page numbers. Skip the cover page, start at any number, add Page X of Y, and fix a greyed-out menu.

Quick answer

To add page numbers in Google Docs, go to Insert > Page numbers and choose whether to place them in the header or footer, and whether to start counting from page 1 or page 0. The number is inserted automatically and updates as you add or remove pages.

Steps at a glance

  1. Go to Insert > Page numbers.
  2. Choose a position: header (top of page) or footer (bottom of page).
  3. Choose whether the number appears on the first page or starts from the second.
  4. Click the option to insert — the page number updates on all pages automatically.
  5. Click outside the header or footer area to return to the document body.

Interactive demo

Loading demo…

This interactive demo was created free with Arclet in 2 minutes.

Create your own demo →Compare demo tools

Summary

Page numbers in Google Docs are fields in the header or footer that update as pages are added or removed. Pick one of four placements from Insert > Page numbers, or open More options to hide the number on the first page and choose the starting number. Page numbers only exist in Pages format. A pageless document has no headers or footers, so switch it to Pages first. For numbering that restarts partway through, such as after a title page and contents, split the document with a section break.

Step-by-step guide

  1. Step 1

    Open the page numbers menu

    Click Insert in the top menu bar, then hover over Page numbers. A submenu appears with icons showing four placement options.

  2. Step 2

    Choose header or footer placement

    Click one of the four icons. The top two place numbers in the header; the bottom two place them in the footer. The right icons exclude the number from the first page.

  3. Step 3

    Verify the page number is inserted

    Google Docs inserts the page number field into the header or footer. You can see it on every page. The header or footer area is now active for editing.

  4. Step 4

    Set a custom starting number (optional)

    Go to Insert > Page numbers > More options. In the dialog, enter a custom starting page number and choose whether to show the number on the first page. Click Apply.

Why this matters

You're about to submit a 20-page essay and you just noticed the instructions say page numbers must appear in the footer, starting from page 1. You've written the whole thing without them.

Troubleshooting

  • Page numbers appear on every page including the cover page

    Go to Insert > Page numbers > More options and uncheck Show on first page. Alternatively, choose the placement icon that shows the number starting from the second page.

  • Page numbers disappeared after editing the header

    You may have accidentally deleted the page number field. Go to Insert > Page numbers and re-insert them.

  • Insert > Page numbers is greyed out

    The document is in pageless format, which has no headers or footers. Go to File > Page setup, choose Pages, and click OK. Page numbers are then available.

  • Numbers should start on page 3, after the title page and contents

    Put the cursor at the end of page 2 and choose Insert > Break > Section break (next page). Double-click the footer on page 3, untick Link to previous, then open Insert > Page numbers > More options and set Start at to 1 for that section. Delete any page number left in the first section's footer.

  • The first page shows a different number than expected

    Open Insert > Page numbers > More options. Check whether Show on first page is ticked and what Start at is set to. Hiding the number on the first page doesn't change the count, so page 2 still shows 2.

Frequently asked questions

  • Can I format the font or size of the page number?

    Yes. Double-click the header or footer to enter edit mode, select the page number, and change the font, size, or color using the toolbar just like regular text.

  • How do I add page numbers in the format 'Page X of Y'?

    Insert the page number first. Then click in the footer, type a space, of, and a space after the number, and choose Insert > Page count. Type Page before the number to finish. Both fields update on their own.

  • How do I remove page numbers from Google Docs?

    Double-click the header or footer, select the page number field, and press Delete. Deleting it on one page removes it from every page in that section.

Create interactive demos like this one — free, no coding required.

Start for free →