Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Insert and Customize a Table of Contents in Google Docs

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can insert a table of contents in Google Docs, and it updates automatically as you edit your document. The key is to format your headings with the built-in Heading styles (Heading 1, Heading 2, etc.) before you insert the table. This guide walks you through inserting, customizing, and troubleshooting the table of contents on both desktop and mobile.

What You'll Need

  • A Google account and a document in Google Docs.
  • Your document should already have headings (or you’ll add them as part of the steps).
  • Internet connection – the table of contents feature works online; the mobile app has limited options.

Step-by-Step

Step 1: Apply heading styles to your sections

  1. Open your document in Google Docs on your computer.
  2. Select the text that you want to appear in the table of contents (for example, the title of a section).
  3. In the toolbar, click the dropdown that says “Normal text” (or “Paragraph” on some versions).
  4. Choose a heading level: Heading 1 for main sections, Heading 2 for subsections, and Heading 3 for sub-subsections. These levels will create a hierarchy in the table.
  5. Repeat for every section you want listed. If you don’t apply heading styles, the table will be empty.

Step 2: Insert the table of contents

  1. Click where you want the table of contents to appear – usually at the very beginning of the document, before the first section.
  2. Go to the menu: Insert > Table of contents.
  3. Choose one of the two styles:
    • With page numbers – shows the page number for each heading (best for printed documents or PDFs).
    • With blue links – shows clickable links that jump to the section when clicked (best for on-screen reading).
  4. The table appears immediately, listing all headings that use the Heading styles.

Step 3: Customize the appearance

  1. Click on the table of contents. A border appears around it.
  2. To change the font, size, or color of the text inside the table, select the text (or the whole table) and use the toolbar options (font, size, bold, etc.).
  3. To change the indentation of the levels, you can adjust the left margin using the ruler at the top, or use the “Increase indent” and “Decrease indent” buttons in the toolbar while the table is selected.
  4. If you want to change the title “Table of Contents” (the default heading), just click on it and type your own text.

Step 4: Update the table after editing

  1. After you add, remove, or rename headings, the table won’t update automatically.
  2. Click anywhere on the table of contents.
  3. Click the refresh icon (circular arrow) that appears at the top-left corner of the table, or click the “Update” button in the small toolbar that pops up.
  4. The table refreshes to reflect your changes.

Step 5: Using on mobile (Android/iPhone)

  1. Open the Google Docs app on your phone or tablet.
  2. Tap the document to open it.
  3. Tap the pencil icon (Edit) at the bottom right.
  4. Tap the plus (+) icon at the top, then choose “Table of contents”.
  5. The table inserts automatically, but you cannot customize the style or update it manually – it updates when you make changes to headings, but you may need to close and reopen the document to see the update.

Common Mistakes

  • Not using Heading styles: If you manually bold or enlarge text, it won’t appear in the table. Only text formatted with Heading 1, Heading 2, or Heading 3 will show up.
  • Using the wrong heading level: If you use Heading 1 for everything, you lose the hierarchy. Use Heading 1 for main sections, Heading 2 for subsections, and so on.
  • Forgetting to update: After editing, the table doesn’t change until you click the refresh icon. Many users think it’s broken when it’s just outdated.
  • Deleting the table instead of updating: Some users delete and re-insert the table, which is unnecessary and loses any custom formatting.

Tips

  • To quickly apply a heading style, use keyboard shortcuts: Ctrl+Alt+1 (Windows) or Cmd+Option+1 (Mac) for Heading 1, Ctrl+Alt+2 for Heading 2, and Ctrl+Alt+3 for Heading 3.
  • If you want the table of contents to appear on its own page, insert a page break before it (Insert > Break > Page break).
  • For a cleaner look, you can remove the default blue underline from the links by selecting the table and changing the link color – but note that the links will still work.
  • If you have a very long document, consider using only Heading 1 and Heading 2 to keep the table manageable.

Troubleshooting

Table is empty or missing headings

  1. Check that your headings are actually formatted with the Heading styles, not just bold or larger font. Select the text and look at the toolbar – it should say “Heading 1” or similar.
  2. If you’re using a custom style, the table won’t pick it up. Reapply the standard Heading styles.
  3. Click the refresh icon on the table to force an update.

Table doesn’t update after changes

  1. Click on the table and then click the refresh icon. If you don’t see it, move your mouse to the top-left corner of the table – it should appear.
  2. If it still doesn’t update, close the document and reopen it. Sometimes the web app needs a reload.

Page numbers show “#” or are wrong

  1. This usually happens when the document is still loading or when you’ve changed the page layout (margins, font size). Click the refresh icon to recalculate.
  2. If the document is set to “Pageless” view (View > Pageless), page numbers won’t display correctly. Switch to “Pages” view (View > Pages) to see page numbers.

Table appears but links don’t work

  1. Make sure you’re in “Pages” view (not “Pageless”) – links work in both, but sometimes the jump is less obvious in Pageless.
  2. Click the link and see if it scrolls to the heading. If not, try clicking the heading text itself – sometimes the link area is small.
  3. If you’re in the mobile app, links may not jump reliably; try using the desktop version for reliable navigation.

Frequently Asked Questions

Can I add a table of contents without using heading styles?

No. Google Docs only builds the table from text formatted with the built-in Heading styles (Heading 1, 2, 3, etc.). You must apply those styles to your section titles.

How do I make the table of contents have no page numbers?

When inserting, choose the “With blue links” option instead of “With page numbers”. If you already inserted one with page numbers, delete it and insert a new one with links.

Why does my table of contents show “Heading 1” instead of my text?

That happens when you haven’t applied the heading style to text – the table shows the style name as a placeholder. Select the actual text and apply the correct heading style.

Can I change the color or font of the table of contents?

Yes. Click on the table, then select the text and use the toolbar to change font, size, color, bold, etc. You can also change the background color of the table by selecting it and using the highlight tool.

Does the table of contents update automatically when I add new headings?

No, it does not update automatically. You must click the refresh icon on the table (or select “Update” from the small menu) to refresh it. On mobile, it may update when you reopen the document, but it’s not guaranteed.

Can I insert a table of contents in the Google Docs mobile app?

Yes, you can insert it via the plus (+) menu, but you cannot customize the style (e.g., choose page numbers vs. links) or manually update it. For full control, use the desktop version.