Table of Contents in Google Docs: Set It Up So It Updates Itself
Quick answer
Format each section title with a heading style (select it, open the Normal text box on the toolbar and pick Heading 1, 2 or 3), click where the table should go, then choose Insert > Page elements > Table of contents and pick Plain text, Dotted or Links. After you change any heading, click the table and press the Refresh button to bring it up to date.
A table of contents in Google Docs is not a list you type by hand. Docs reads the headings in your document and builds the list for you, with each entry linked to its section. Add a chapter, rename one, move it three pages down: one click on Refresh and the table matches again. This guide covers the whole setup on the desktop web version: heading styles, the three formats, refreshing after edits, changing the look, and the outline panel on the left.
Headings come first: the table is built from them
The table of contents only sees text that carries one of the built-in paragraph styles: Title, Subtitle, or Heading 1 through Heading 6. A line you made bold and larger by hand looks like a heading to you, but to Docs it is still Normal text, so it never shows up in the table. That is the single most common reason a table of contents comes out empty or skips a section.
The levels also matter. Heading 1 entries sit flush left, Heading 2 entries are indented under them, Heading 3 under those, and so on. A clean document usually uses Heading 1 for main sections and Heading 2 for subsections, with the Title style reserved for the document name at the top. Keep that hierarchy consistent and the table will read as an outline instead of a flat list.
The same headings also feed the document outline, the navigation panel on the left side of the editor, so one pass of styling gives you both. Google's reference for all of this is the help article Add a title, heading, or table of contents in a document, which is where every menu name below comes from.
Apply heading styles to your titles
Desktop (web)
-
Select the text of a section title

Open your document at docs.google.com and highlight the line you want to turn into a heading. You can also just click anywhere inside that line, since paragraph styles apply to the whole paragraph.
-
Open the styles box on the toolbar

On the toolbar, click the box that reads Normal text. It sits to the left of the font name. The list that opens shows Normal text, Title, Subtitle and the heading levels.
-
Pick the heading level

Click Heading 1 for a main section, Heading 2 for a subsection, and so on down to Heading 6. The same list is available under Format, then Paragraph styles, then the style name, then Apply. The keyboard shortcut is Ctrl + Alt + a number from 1 to 6 on Windows, or Cmd + Option + the number on a Mac. Ctrl + Alt + 0 returns a line to Normal text.
-
Repeat for every section title

Go through the document and style each title the same way. Keep the levels logical: a Heading 2 belongs under a Heading 1, not on its own. Anything you leave as Normal text will be missing from the table.
-
Change how a heading level looks (optional)

If you want all Heading 1 lines in a different font or color, format one of them by hand, keep it selected, then click Format, then Paragraph styles, then Heading 1, then Update 'Heading 1' to match. Every Heading 1 in the document changes at once, and the headings keep their place in the table.
Insert the table of contents
Desktop (web)
-
Click where the table should appear

Click an empty line where you want the table, usually right after the document title or on its own page before the first section.
-
Open the Insert menu

Click Insert in the menu bar, then point to Page elements, then Table of contents. A small panel opens showing the available formats.
-
Choose a format

Pick one of the three layouts: Plain text shows each heading with its page number, Dotted adds a row of dots between the heading and the page number, and Links shows the headings as clickable blue links with no page numbers. Google names these three formats in its Workspace Updates announcement. Entries in every format link to their section, so the choice is mostly about how it prints.
-
Check that every section is listed

Every line that carries a heading style appears, indented by level. If a section is missing, it is still Normal text: style it, then refresh the table as described below.
Updating it, changing its look, and the outline on the left
The table does not rewrite itself the instant you edit a heading. After adding, renaming, deleting or moving sections, click anywhere inside the table of contents and press the Refresh button that appears at its edge. Entries, indents and page numbers all update in one pass. If you prefer to start over, right-click the table and choose Delete table of contents, then insert a fresh one.
To change its appearance, click the table, then click More table of contents options to its left and choose More options. A panel opens on the right where you can switch between the three formats, decide which heading levels are included, and set the indent for each level. The same panel also controls page numbers and the tab leader, the line that runs from a heading to its number. One limit to know: if the document is in pageless format, the formatting of the table cannot be changed.
The document outline is the other half of the setup. Click View, then Show outline, and a panel opens on the left listing the same headings. Click any entry to jump straight to that section; the outline follows you as you scroll. Docs fills the outline automatically from your heading styles (subtitles are left out). To hide a heading from the outline without changing its style, point to it in the panel and click Remove from outline; to bring it back, select the heading in the document, right-click and choose Add to document outline. Clicking Show outline again under View hides the panel. Google documents the panel in Edit and use a document outline.
On a phone, the picture is uneven. Heading styles work in both mobile apps: select the text, tap Format, then TEXT, then Style, and pick a heading. The outline opens from More, then Document outline. Inserting a table of contents, though, is only possible on iPhone and iPad (tap Insert, then Table of contents, with print layout turned on), and Google's help page states plainly that you cannot insert one on Android. If you work on an Android phone, build the table on a computer first; the mobile app will still display it.
Questions people ask about the Google Docs table of contents
Why is a section missing from my table of contents?
The missing title is almost certainly still Normal text, even if you made it bold and larger. Click the line, open the Normal text box on the toolbar and pick a heading level. Then click the table and press Refresh; the entry appears in the right place.
Does the table of contents update automatically when I edit headings?
Not on its own. Docs keeps the table as a snapshot until you click inside it and press the Refresh button. It takes one click, so get in the habit of refreshing right before you share or print.
Can I include only Heading 1 and Heading 2 in the table?
Yes. Click the table, choose More table of contents options, then More options, and in the right panel pick which heading levels to show and how far each level is indented. This works in the pages layout; in pageless format the panel is not available.
Can collaborators see and use the table too?
Yes. The table is part of the document, so anyone with access sees it, and the links jump to the sections for viewers and commenters as well. Only editors can refresh or delete it, and after someone else adds headings, any editor can click Refresh to bring it current.
Checked against
Steps verified on November 25, 2026 using these official pages:
- Add a title, heading, or table of contents in a document (Google Docs Editors Help)
- Edit and use a document outline (Google Docs Editors Help)
- Keyboard shortcuts for Google Docs (Google Docs Editors Help)
- Improvements to content organization in Google Docs (Google Workspace Updates)
Spotted something that changed in the app? Tell us and we will re-check the guide.