Skip to content
DocumentTaskLab

Google Docs tasks · Navigation

Create a table of contents in Google Docs and keep it updated

Written November 22, 2026

A long document without a table of contents makes readers scroll and guess. In Google Docs the table builds itself from your headings, links every entry to its section, and refreshes on demand — the only real work is styling headings properly, which pays off across the whole document. This guide does it in order: headings first, then the table, then keeping it current.

Style your headings first

A table of contents in Google Docs is built from heading styles — not from text that merely looks big or bold. Google states the same basis in Add a title, heading, or table of contents in a document: each item in the table of contents links to a heading in the document. Five minutes on headings is what makes the table accurate.

  1. Apply Heading 1 to each main section title. Click in the title, then use the style box in the toolbar (it usually says Normal text) and choose Heading 1 — or Format > Paragraph styles > Heading 1 > Apply Heading 1.
  2. Apply Heading 2 and Heading 3 to subsections. Use Heading 2 for sections inside a main section and Heading 3 inside those. The levels become the indentation in the table of contents, so keep the hierarchy honest: no Heading 3 directly under a Heading 1 unless there is genuinely a level missing.
  3. Leave body text as Normal text. Paragraphs styled as headings appear in the table, so if a stray line shows up later, its style — not the table — is the thing to fix.

Insert the table of contents

  1. Click where the table belongs. Usually on its own page after the title page, or directly under the document title for a short document. Add a page break (Insert > Break > Page break) after the spot if the body should start on a fresh page.
  2. Open Insert > Page elements > Table of contents. In the Insert menu, point to Page elements, then Table of contents.
  3. Choose a style. Pick the look offered: a plain list with page numbers, a dotted-leader list running to page numbers, or a list of blue links without page numbers. Documents that will be printed want page numbers; documents read on screen work well with links alone. The table appears at your cursor, one entry per heading, in document order.

You can also insert the table before the document is written: Docs shows a placeholder, and the entries fill in once headings exist and the table is refreshed.

Keep it updated as you edit

The table does not update itself while you type. After adding, renaming, moving or deleting headings — and always once more before you share or print — refresh it.

  1. Click the table of contents. Click anywhere in it. A small toolbar appears beside it.
  2. Select Refresh. Click the Refresh icon (a circular arrow), or right-click the table and choose Update table of contents. Entries, order and page numbers rebuild from the current headings.
  3. Spot-check two entries. Click one entry near the start and one near the end: each should jump to its heading, and the page numbers should match where the headings actually fall.

Change which headings show and how it looks

Click the table, then the More table of contents options button beside it, then More options: a panel opens on the right. There you can change the format, adjust the indent for each heading level, and choose which heading levels the table displays — showing only Heading 1 and Heading 2 keeps a long document's table to one readable page. Formatting the table's text itself — font and size — is done by selecting its entries and using the normal text controls. Note that in a document in pageless format the table's formatting options are limited, and a table without page numbers suits that format better.

Remove a table of contents

Right-click the table and choose Delete table of contents. Only the table is removed; the headings in the document are untouched, so you can insert a fresh table at any time and it rebuilds from the same headings.

End state

When it goes wrong

Related document tasks

Sources