How to Create a Table of Contents in Google Docs (and Fix It When It Breaks)

Advertisement
A table of contents in Google Docs isn’t a static list you type by hand — it’s a live index built from the heading styles already in your document. Get the headings right and the TOC writes itself, updates when you add sections, and lets readers jump to any part with one click. Get them wrong and you get an empty box that refuses to show anything.
This guide walks through the whole process: styling headings, inserting the TOC, keeping it updated, and fixing the two problems that trip up almost everyone.
The Prerequisite: Heading Styles
The table of contents reads one thing only: heading styles. Not bold text, not a larger font size — the actual paragraph style applied through the toolbar. If your section titles are just bold size-14 text, the TOC will ignore them completely.
To apply a heading style:
- Click anywhere inside the line you want to become a heading.
- Open the style dropdown in the toolbar — it usually says Normal text.
- Choose Heading 1 for major sections, Heading 2 for subsections, Heading 3 for sub-subsections, and so on.
Every heading level you use will appear in the TOC at the corresponding indent depth. Heading 1 sits flush left, Heading 2 indents once, Heading 3 indents twice. You don’t configure this — it’s automatic.
If you apply headings often, skip the dropdown entirely: press Ctrl+Alt+1 through Ctrl+Alt+6 (or ⌘+Option+1–6 on a Mac) to apply Heading 1 through Heading 6 instantly, and Ctrl+Alt+0 to revert a line to normal text. Style a long report’s headings this way and the TOC is ready to insert within a minute.
Inserting the Table of Contents
- Place your cursor where the TOC should appear — typically right after the title page or introductory paragraph.
- Go to Insert → Table of contents in the menu bar.
- Pick the format you want from the two options that appear.
Google Docs offers two formats:
- Plain text — a simple numbered or unnumbered list with page numbers on the right. This is the default and works for most documents.
- With blue links — each entry is a clickable link. In a shared or exported document, clicking an entry jumps directly to that section.
Once inserted, the TOC is a live block. It highlights with a light blue background when you click inside it, and a small update button appears at the top-right corner of the block.
Updating the Table of Contents
The TOC does not refresh on its own every time you add a heading. After adding, removing, or renaming sections, you need to trigger an update:
- Click anywhere inside the table of contents block.
- Click the Update button that appears at the top-right of the block — it looks like a circular arrow icon.
Alternatively, right-click inside the TOC and choose Update table of contents. Either method re-scans the document and rebuilds the entries.
Page numbers update at the same time. If you’ve added content that pushes sections onto new pages, the update catches that too.
Customizing the Table of Contents
Google Docs keeps customization options deliberately minimal compared to Word, but there are a few levers:
| Setting | Where to find it | What it does |
|---|---|---|
| Show/hide page numbers | Right-click TOC → More options → toggle | Removes the right-aligned page numbers for a cleaner look |
| Indent depth | Right-click TOC → More options → levels | Controls how many heading levels appear (1–6) |
| Font and size | Select the TOC text, then use the toolbar | Changes appearance just like any other text |
| Heading style formatting | Format → Paragraph styles | Changes how headings look throughout the document |
One thing you can’t do in Google Docs: change the TOC leader characters (the dots between the entry and the page number) or reorder entries manually. The TOC is always a mirror of your heading hierarchy.
Fix: Headings Don’t Appear in the TOC
This is the most common problem, and it almost always comes down to one of these:
1. The text isn’t actually styled as a heading. Bold + large font ≠ Heading 1. Check the style dropdown while your cursor is on the line — it must read “Heading 1”, “Heading 2”, etc. If it says “Normal text” or “Subtitle”, the TOC won’t pick it up.
2. The heading is inside a table cell, text box, or comment. Google Docs doesn’t scan those containers for TOC entries. Move the heading into the main body of the document.
3. You inserted the TOC before applying any headings. The TOC captures whatever headings exist at the moment of insertion. If the document was empty of headings, you get an empty TOC. Apply your headings first, then insert or update the TOC.
Fix: TOC Won’t Update or Shows Stale Entries
If clicking Update does nothing or entries linger after you’ve deleted a section:
- Delete the entire TOC block — click at its edge and press Backspace or Delete.
- Re-insert it via Insert → Table of contents.
This forces a full rebuild from scratch. The update mechanism occasionally caches stale heading references, and a clean re-insert clears them.
If the problem persists after a re-insert, check for headings that are formatted but hidden inside collapsed sections or behind a linked header from another document — those can confuse the scanner.
TOC vs. Outline: Which Do You Need?
Google Docs also has a built-in document outline (View → Show document outline), which lives in the left sidebar and updates in real time without any manual refresh. For internal collaboration and quick navigation, the outline is often enough.
Use a formal TOC when:
- The document will be exported as PDF and needs a clickable index page.
- You’re submitting a report, thesis, or proposal that requires a printed table of contents.
- Readers will access the document without the Docs interface (e.g., a downloaded .docx).
For everyday working documents shared via link, the sidebar outline is simpler to maintain. You can also use custom templates in Google Slides with the same heading structure if you’re building a companion presentation.
Frequently Asked Questions
Does the table of contents work in a shared document?
Yes. Anyone with edit or comment access can update the TOC. Viewers see it as static text but can still click the blue-link version to jump between sections.
Can I have more than one table of contents?
Yes. Insert separate TOC blocks wherever you need them. Each one reflects the full heading hierarchy though — Google Docs doesn’t support scoping a TOC to a subset of headings.
Does the TOC survive export to Word or PDF?
In PDF export, the TOC renders as static text with page numbers — links may or may not work depending on the viewer. In .docx export, the TOC converts to a Word field that can be updated in Word, though formatting sometimes shifts slightly.
Why do my page numbers look wrong?
Google Docs calculates page numbers based on its own pagination, which can differ from what you see in print preview. After updating the TOC, check File → Print preview to confirm the numbers match the actual page breaks.
Sources: