How do I add or insert a page number in the footer or header of a Google Docs document?

5 Answers 5


As @Barry states in his answer you can use this option to put page numbers when printing a document. You can actually add it to the document itself with some HTML code in the header of footer section. See here: http://googlesystem.blogspot.com/2008/03/adding-page-numbers-to-google-documents.html

  • 1
    Update: I was browsing through my history here and remembered this question so I thought I would put in an update saying that Google added page numbers to Docs now. See docs.google.com/support/bin/answer.py?answer=83321
    – Neil
    Commented Nov 1, 2011 at 8:19
  • 1
    Doesn't seem to work on presentations.
    – MastaBaba
    Commented Nov 20, 2012 at 7:42

Page numbers are now a part of Google Docs.

To include page numbers:

  1. Open your document
  2. Select Insert > Page number from the file menu
  3. Choose either Top of Page or Bottom of Page to insert page numbers into the header or footer of your document respectively.

You can also include the total page count.

  1. Place cursor where you want the page count total to show
  2. Select Insert > Page count from the file menu

Placing the page count in the header or footer of one page will propagate to all pages in the document.

Screencast of adding page numbers in Google docs, 07/2017

See also Add headers, footers & page numbers

  • Unfortunately, still you cannot set custom numbering (from which page should the count start) and no Roman numbers. Hope the Google docs developers will add this soon.
    – Avatar
    Commented Jul 28, 2017 at 11:04

To insert page numbers you need to:

  • select Print settings from the File menu
  • select the checkbox marked Include page numbers and choose the location of the page numbers
  • click Print

This will add page numbers to the printed (or PDF) version of your document. It is worth noting that the editable version in Google Docs will not show the page numbers. This is by design.

  • Doesn't work in Presentation :)
    – jldupont
    Commented Dec 7, 2012 at 14:03

I needed to have Page # of # inside of some text in my header. I couldn't get the header to show a page number. I found that I could add it to the footer, then copy it, then paste it wherever I wanted in the header.


Check out this YouTube video that walks you through the steps of adding page numbers to Google Docs.


  • The Gooru
  • 1
    Please add the relevant info to the answer instead of just linking to a video. Thanks!
    – Alex
    Commented Feb 13, 2015 at 17:56
  • Without the link, there is no useful information in this "answer".
    – ale
    Commented Feb 14, 2015 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.