How to Add and Edit Headers in Google Docs

Learn how to edit header in Google Docs by double-clicking it, or add one through Insert > Page elements > Header in a Pages document.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To edit a header in Google Docs on a computer, double-click the existing header and change its text. To add one, select Insert > Page elements > Header, then enter your text. Headers require Pages format, and you can also edit them in the Google Docs mobile app with Print Layout turned on.

The short version

  • Edit existing text: Double-click the header in the web editor and change its contents.
  • Add a header: On a computer, select Insert > Page elements > Header.
  • Make headers visible: Use Pages format and enable Show print layout on a computer or Print Layout on mobile.
  • Change selected pages: Use first-page, odd-and-even, or section controls in the web editor.

TaskWhereControl or method
Add a headerWeb editorInsert > Page elements > Header
Edit an existing headerWeb editorDouble-click the header
Open a header by keyboardWeb editorHold Ctrl + Alt on Windows or ChromeOS, or Ctrl + Command on Mac, then press O, followed by H
Find header actionsWeb editorHelp > Search the menus
Enable Pages formatWeb editorFile > Page setup > Pages
Show headersWeb editorView > Show print layout
Separate the first pageWeb editorDifferent first page
Create a sectionWeb editorInsert > Break
Edit a section independentlyWeb editorUncheck Link to previous
Alternate page headersWeb editorDifferent odd and even
Adjust header spacingWeb editorFormat > Headers & footers > More options
Remove a headerWeb editorOptions > Remove header
Add numbering or totalsWeb editorPage number or Page count
Format header textWeb editorSelect text and use formatting shortcuts
Edit an Android headerAndroid appEdit > More > Print Layout
Enable Android pagesAndroid appEdit > More > Page setup
Edit an iPhone or iPad headeriPhone and iPad appEdit > More > Print Layout
Enable iPhone or iPad pagesiPhone and iPad appMore > Page setup
Add mobile page numbersAndroid, iPhone and iPad appsEdit > Insert > Page Number
Insert a header by voiceWeb editorTools > Voice typing

Add or edit a header on a computer

Open your document in the Google Docs web editor, then select Insert > Page elements > Header. Enter the text you want in the header, then press Escape to return to the document body. These controls apply to repeating page headers rather than heading styles or table column headers.

For a header that already contains text, double-click it and edit directly. Press Escape when you are finished.

Fix hidden headers and switch to Pages

If your document uses Pageless format, select File > Page setup, choose Pages, then click OK. You can also select Format > Switch to Pages format. Once the document is in Pages format, use the header insertion menu.

When a document already uses Pages but its headers are hidden, open View and enable Show print layout. Double-click the visible header to edit its text.

Edit headers on Android or iPhone and iPad

In the Android app, open your document and tap Edit > More. Turn on Print Layout, then tap the header and enter or edit its text. The document must use Pages format.

If the Android document is pageless, tap Edit > More > Page setup and turn off Pageless. Then enable Print Layout to access the header. Tap the header once it is visible to make your changes.

On iPhone or iPad, open the document in Google Docs and tap Edit > More. Turn on Print Layout, then tap the header to enter or edit text. If the document is pageless, open More > Page setup, turn off Pageless, and then enable Print Layout.

Format header text and adjust its spacing

In the web editor, select the text inside your header before applying text formatting. On Windows or ChromeOS, press Ctrl + B for bold or Ctrl + I for italics. On Mac, use Command + B or Command + I.

To center the header on Windows or ChromeOS, press Ctrl + Shift + E. For left or right alignment, use Ctrl + Shift + L or Ctrl + Shift + R. On Mac, the corresponding shortcuts are Command + Shift + E, Command + Shift + L, and Command + Shift + R.

For header spacing, click inside the header and open Format > Headers & footers > More options. Choose the document or section scope under Apply to, enter the margins, and click Apply. Entering 0 removes the header-margin space. For margins elsewhere on the page, follow the steps to change margins in Google Docs.

Use different first page and alternating headers

In the web editor, click the header and check Different first page to give the first page its own header. Edit the first-page header separately. This setting applies to the first page of a document or section in Pages format.

For alternating headers, click the header, then click Options. Under Apply to, select Whole document, select Different odd and even, and click Apply. Edit the odd-page and even-page headers individually.

Create independently editable section headers

To change the header for a separate part of your document in the web editor, create a section at the intended boundary. Place the cursor there and select Insert > Break, then choose Section break (next page) or Section break (continuous). After creating the section, open its header.

Uncheck Link to previous before entering the section's independent header text. Then edit that header as needed. If you already have a section break but its header remains linked, open that section's header and uncheck Link to previous before making separate changes.

Add page numbers or a page count

In the web editor, select Insert > Page elements > Page number. Choose a header placement to insert automatic page numbering at the top of the page. For a total page count, position your cursor in the header and choose Page count.

On Android, iPhone, or iPad, open the document and tap Edit > Insert > Page Number. Choose a top-of-page placement and whether numbering should skip the first page. These page-number controls require Pages format on both computers and mobile devices.

Open a header with shortcuts search or voice

For keyboard access in the web editor on Windows or ChromeOS, hold Ctrl + Alt and press O, then H. On Mac, hold Ctrl + Command and press O, then H. Enter or edit the header once it opens.

Some keyboard layouts or languages can affect these shortcuts. If the shortcut fails, select Insert > Page elements > Header instead.

Another route is to click Search in the toolbar or choose Help > Search the menus. Type header, then select Insert or move to header. You can open the same search with Alt + / on Windows or ChromeOS, or Option + / on Mac.

Voice insertion works in the web editor with the latest Chrome, Edge, or Safari, a working microphone, and a document in Pages format. Both your account language and document language must be English for voice commands. Open Tools > Voice typing, click the microphone, and say Insert header. Dictate the header text, then click the microphone again when finished.

Your organization's administrator can disable voice typing. If that restriction applies to your account, use Insert > Page elements > Header and type your header text.

Remove a header you no longer need

Removing a header removes its contents from that header area. To remove it in the web editor, double-click the header, then choose Options > Remove header.

Frequently Asked Questions

Does switching to Pageless delete an existing header?

Switching to Pageless hides existing headers without deleting them. Switching back to Pages restores their visibility.

Can you make Pages the default for new documents?

Yes, you can make Pages the default in the Google Docs web editor. Open File > Page setup, select Pages, and click Set as default.

Does turning on Show print layout change what collaborators see?

Turning on Show print layout changes only your view of the document in the web editor. It does not change collaborators’ views.

Can menu search find other header actions?

Yes, searching for header in the web editor also exposes Remove header and header page-number actions. You can use the search results to find those controls in a document using Pages format.

Share