How to Fix Google Docs Table of Contents Not Showing Headings
In this tutorial, you'll learn about How to Fix Google Docs Table of Contents Not Showing Headings. We cover key concepts, practical examples, and best practices.
Google Docs generates a table of contents based on heading styles (Heading 1, 2, 3) applied to your text. When the TOC is empty, shows wrong entries, or does not update, the headings are not formatted with Heading styles or the TOC needs to be refreshed.
The Problem
You insert a table of contents (Insert > Table of contents) but it shows "No headings found" or is missing sections that clearly have headings.
Wrong approach — manually typing the table of contents.
The Fix
Ensure all headings use the correct styles:
1. Select the heading text
2. In the toolbar, change the style from "Normal text" to "Heading 1", "Heading 2", or "Heading 3"
3. The TOC will update automatically if set to "With page numbers"
To refresh the TOC after changes:
1. Click on the TOC
2. Click the "Update" button at the top-left of the TOC
3. The TOC refreshes with all current headings
For headings inside tables or text boxes, move them out:
Google Docs TOC only detects headings in the main document body
Headings inside tables, drawings, or text boxes are ignored
Expected output:
TOC shows all headings with correct hierarchy
Clicking a heading link jumps to that section
TOC updates when you add or remove headings
Prevention Tips
- Apply heading styles (Heading 1, 2, 3) consistently throughout the document
- Use the "Normal text" style for body content to keep headings distinct
- Update the TOC before sharing or printing
- Use "Table of contents with page numbers" for printed documents
- Use "Table of contents with blue links" for digital documents
- Avoid using bold or large font sizes as a substitute for heading styles
Common Mistakes with docs table of contents
- Overlapping type class instances that cause GHC to reject the program with ambiguous dispatch errors
- Non-exhaustive pattern matches that compile with warnings then crash at runtime
- Misunderstanding that
Stringis[Char]with poor performance for large text operations
These mistakes appear frequently in real-world GOOGLE code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
Related: DodaTech's Document Structure Validator scans heading hierarchy in Google Docs, flags missing or skipped heading levels, and generates a correctly formatted TOC. Use with DodaZIP for template management.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro