If you are writing a lengthy report, a thesis, or a company manual in Google Docs, forcing your readers to scroll endlessly to find specific sections is poor etiquette. A Table of Contents (TOC) acts as a navigational roadmap. While you could type one out manually, doing so guarantees that the page numbers will become inaccurate the moment you add or delete a paragraph. Google Docs includes a built-in feature that automatically generates and formats a TOC based on your document’s structure, saving you hours of frustrating formatting work.
Step 1: Format Your Document with Headings
Google Docs relies entirely on paragraph styles to understand the hierarchy of your document. It cannot differentiate between a bolded body paragraph and a chapter title unless you explicitly tag it.
- Scroll through your document and highlight the text of your first major chapter or section title.
- Look at the toolbar at the top of the screen and locate the Styles dropdown menu (it usually says “Normal text” by default).
- Click the dropdown and select Heading 1. (If you don’t like the default size or font, you can change it, then right-click “Heading 1” and select “Update Heading 1 to match”).
- For sub-sections within that chapter, highlight the titles and apply Heading 2. For sub-sub-sections, use Heading 3.
- Repeat this process for every title throughout your entire document.
Step 2: Insert the Automated Table of Contents
Once your document is structurally tagged, generating the TOC takes only a few seconds.
- Place your blinking cursor exactly where you want the Table of Contents to appear (this is usually on a dedicated blank page immediately following your title page).
- Click on Insert in the top menu bar.
- Scroll down to the very bottom of the menu and hover over Table of contents.
- A fly-out menu will appear offering three distinct style options:
- Plain Text: A standard layout with aligned page numbers on the right.
- Dotted: Includes a line of dots connecting the chapter title to the page number (the most common and professional choice).
- Links: Formats the entries as blue, underlined hyperlinks without page numbers (best for digital-only documents).
- Click on the Dotted style (or whichever you prefer).
Google Docs will instantly scan your document, compile all text formatted as Headings, calculate their current page numbers, and insert a perfectly formatted Table of Contents block.
Step 3: Updating the Table of Contents After Edits
As you continue writing and revising, your page numbers will inevitably shift. The Table of Contents does not update automatically in real-time, but refreshing it is incredibly simple.
- Click anywhere inside the Table of Contents box. A light gray bounding box will appear around it.
- Look for the small Refresh icon (a circular arrow) that appears in the top-left corner of the bounding box.
- Click the Refresh icon.
Google Docs will immediately rescan the document, adding any new headings you’ve created, removing deleted ones, and perfectly realigning all the page numbers to reflect the current state of your text.