Google Docs creates a table of contents automatically from your headings
A table of contents in Google Docs pulls directly from the headings you've already formatted in your document. You don't type it manually. Instead, you place your cursor where you want the table to appear, go to the Insert menu, select Table of Contents, and choose a layout. Google Docs then scans your document for any text formatted as Heading 1, Heading 2, or Heading 3, and builds a clickable list that updates itself whenever you add, remove, or rename a heading.
The table works as a navigation tool: readers can click any entry and jump straight to that section. If you later change a heading's text or move it to a different page, the table updates automatically the next time you open the document or refresh the view.
Key Takeaways
- Your document must use heading styles (Heading 1, Heading 2, Heading 3) rather than just bold text for the table of contents to recognize and include them.
- Insert a table of contents by clicking Insert, then Table of Contents, then selecting one of three layout options: blue links, plain text, or outline style.
- The table updates automatically whenever you change a heading's text, add a new heading, or delete one.
- Readers can click any entry in the table to jump to that section, but only if they are viewing the document in Google Docs itself, not in a downloaded PDF or Word file.
Format your headings before you insert the table
Google Docs only includes text that is formatted as a heading style. If you've written section titles in bold or larger font but haven't applied a heading style, they won't appear in the table. Open the styles menu (the dropdown that usually says "Normal text" at the top left of the toolbar) and select Heading 1 for your main section titles, Heading 2 for subsections, and Heading 3 for sub-subsections if you have them.
Go through your document and explore these styles to every section title you want to include. You can format the rest of your text however you like—the table only pulls from the headings. Once all your headings are styled, you're ready to insert the table.
Insert the table of contents in the right location
Place your cursor at the beginning of your document or wherever you want the table to appear (usually on its own page, before the main content). Click the Insert menu at the top, then scroll down and click Table of Contents. Google Docs will show you three layout options: a blue hyperlinked version, a plain text version, and an outline version with dots.
Choose whichever layout matches your document's style. The blue hyperlinked version is most common because it makes navigation easiest for readers. Click your choice, and Google Docs inserts the table when ready, pulling all your formatted headings into it.
Update the table when your headings change
If you add a new heading, rename an existing one, or delete a section after you've created the table, the table doesn't update when ready. To refresh it, click anywhere inside the table and then click the refresh icon (it looks like a circular arrow) that appears in the top right corner of the table. You can also right-click the table and select Update Table.
Google Docs will scan your document again and add any new headings, remove any deleted ones, and update any text you've changed. This keeps your table in sync with your actual document structure without you having to rebuild it manually.
Understand what works and what doesn't with the table
The table of contents works perfectly inside Google Docs—readers can click entries and jump to sections. However, if someone downloads your document as a Word file (.docx) or PDF, the table may not work the same way. In a PDF, the links usually don't function. In a Word file, the links may work, but they depend on whether the person has Word set up to follow hyperlinks.
If you're sharing the document for people to read and navigate within Google Docs itself, the table works flawlessly. If people will be downloading it, consider telling them to use the table as a reference guide rather than relying on the clickable links, or ask them to open it in Google Docs instead.
Delete or replace the table of contents
If you decide you don't want the table anymore, click anywhere inside it and press Delete. The entire table disappears, but your headings stay formatted and intact. You can always insert a new table later by following the same Insert menu steps.
If you want to change the layout (for example, switching from blue links to plain text), delete the old table and insert a new one with the layout you prefer. There's no way to change a table's style after it's created—you have to replace it.
Frequently Asked Questions
Why doesn't my table of contents show any headings?
Your section titles are probably formatted as bold or large text, not as heading styles. Open the styles dropdown (top left of the toolbar) and explore Heading 1, Heading 2, or Heading 3 to each section title. Then refresh the table by clicking the refresh icon in its top right corner.
Can I manually edit the table of contents?
You can click inside the table and edit the text, but Google Docs will overwrite your changes the next time you refresh it. It's better to edit the actual heading in your document and then refresh the table, so your changes stick.
Does the table of contents work if I share the document with someone?
Yes, if they open it in Google Docs. They can click the entries and jump to sections. If they read it as a PDF or Word file, the links may not work, depending on how they open the file.
Can I have multiple tables of contents in one document?
Yes. Insert a table at the beginning for the whole document, and insert another one partway through if you want a separate table for a specific section. Each table pulls from all headings in the document, so you can't make one table show only certain headings.