Automatically Number Pages in Google Docs
You can automatically number pages in Google Docs by inserting a page number in the header or footer. Go to Insert > Page numbers and choose a position; the numbers will update automatically as you add or remove pages. This article explains the options, how to customize them, and how to fix common issues.
How Page Numbering Works in Google Docs
Google Docs treats page numbers as a field that lives in the header or footer area of the document. When you insert a page number, the app places a special code that counts the current page based on the document’s pagination. Because it’s a field, it updates whenever the document reflows—adding a paragraph, changing margins, or inserting a page break will renumber everything automatically.
You can insert page numbers in three main ways:
- Top of page – appears in the header, aligned left, center, or right.
- Bottom of page – appears in the footer, with the same alignment choices.
- Page X of Y – shows the current page and the total number of pages (e.g., “Page 3 of 12�).
All these options are found under Insert > Page numbers. The first two insert just the number; the third inserts a combined field.
How to Insert Page Numbers (Step-by-Step)
- Open your document in Google Docs.
- Click Insert in the top menu.
- Hover over Page numbers.
- Choose one of the four presets: Top left, Top right, Bottom left, or Bottom right (each appears as an icon with “1� in the corner).
- Alternatively, click More options to open a dialog where you can set the position, alignment, and whether the first page is numbered.
If you choose “More options,� you’ll see a checkbox for “Different first page.� Checking it hides the number on the first page (useful for title pages). You can also change the starting number—by default it starts at 1, but you can set it to 0 or any other value.
Customizing Page Numbers (Format, Font, Position)
Once inserted, page numbers behave like any text in the header or footer. You can:
- Change the font, size, color, or bold/italic style by selecting the number and using the toolbar.
- Align it left, center, or right by clicking the alignment buttons.
- Add text around it, such as “Page � before the number or a dash after.
- Move it up or down by adjusting the header/footer margin (via File > Page setup > Margins or the ruler).
To edit the header or footer, double-click the top or bottom margin area. The page number will appear as a blue field; you can type around it. If you delete the field, the number disappears from that section.
Starting Page Numbers on a Specific Page
Sometimes you want the first page to be unnumbered, or you want numbering to start at “1� on the third page (e.g., after a title page and table of contents). Google Docs does not have a simple “start at page 3� button. Instead, you use sections:
- Place your cursor at the top of the page where you want numbering to start.
- Click Insert > Break > Section break (next page).
- Double-click the header or footer of the new section.
- Click Link to previous to turn it off (this unlinks the header from the previous section).
- Now insert the page number in this section using Insert > Page numbers.
- If you want it to start at 1, click Format > Page numbers (or right-click the number) and set “Start at� to 1.
Note that the previous section will still have its own numbering (or none if you remove it). This method gives you full control over where numbering begins.
Common Problems and Fixes
Here are frequent issues users encounter and how to resolve them:
- Page number not showing on the first page – Check if “Different first page� is enabled. Go to Insert > Page numbers > More options and uncheck it.
- Numbers are the same on every page – This happens when you typed a number manually instead of using the field. Delete it and insert via Insert > Page numbers.
- Numbering starts at the wrong number – Right-click the page number, choose Format > Page numbers, and adjust “Start at.�
- Page numbers disappear after adding a section break – The new section may be unlinked from the previous header. Double-click the header in that section and re-insert the page number.
- Header/footer too large – Reduce the header/footer margin in File > Page setup or drag the blue line on the ruler.
Page Numbers in the Mobile App and Offline
In the Google Docs mobile app (Android and iOS), you can also insert page numbers. Tap the pencil icon to edit, then tap the “+� (Insert) menu, choose Page number, and select a position. The options are more limited than on the web—no “Page X of Y� or custom start numbers—but basic numbering works.
When working offline, page numbers still function because they are calculated locally. However, if you insert or delete pages while offline, the numbers update when you reconnect and sync. The field itself doesn’t require an internet connection.
Comparing with Microsoft Word
Word and Google Docs handle page numbers similarly, but there are differences. Word offers more granular control, such as different numbering formats (Roman numerals, letters) and the ability to have separate odd/even headers. Google Docs currently supports only Arabic numerals (1, 2, 3…) and does not have a built-in “different odd/even� option. For most documents, the Google Docs feature set is sufficient, but if you need complex numbering schemes, you may need to use Word or work around it with sections and manual text.
Frequently Asked Questions
How do I remove page numbers from the first page?
Go to Insert > Page numbers > More options and check the box for “Different first page.� This hides the number on the first page but keeps it on all others.
Can I start page numbering at 0?
Yes. Right-click the page number, choose Format > Page numbers, and set “Start at� to 0. The first page will show “0,� the second “1,� and so on.
Why is my page number showing “Page 1 of 1� on every page?
That usually means you inserted the “Page X of Y� field but the document is set to a single page, or the field is not updating. Try refreshing the page (Ctrl+R or Cmd+R). If it persists, delete the field and re-insert it from Insert > Page numbers.
Can I have page numbers in the margin (side of the page)?
Google Docs does not support side margins for page numbers. You can only place them in the header or footer. If you need side numbers, you could add a text box in the margin, but it won’t auto-update.
How do I add “Page X of Y� in Google Docs?
Go to Insert > Page numbers and choose the last option, which shows “Page 1 of 2� in the preview. This inserts both the current page and total page count.
Does the page number count the cover page?
By default, yes. If you don’t want the cover page counted, you need to use sections. Unlink the header of the second section and set the start number to 1, as described above.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.