|

How To Add A Table Of Contents In Google Docs (2026)

A table of contents in Google Docs builds itself from your headings, so the real work is applying heading styles before you insert it.

Once it is in place, each entry links to its heading, and a single icon refreshes the list after you edit.

These steps are for Google Docs on a computer and come from Google’s help pages on headings and document outlines.

Quick answer: insert, refresh and delete a table of contents

What you wantWhat to do
Insert oneClick where it should go, then Insert, Page elements, Table of contents, and choose a look
Update it after editsClick the Refresh icon on the table of contents
Change its formatClick it, then More table of contents options, then More options
Remove itRight-click it and choose Delete table of contents
Add a missing entryApply a heading style to that line of text

If your table of contents comes out empty, the document has no headings yet, which the next section fixes.

Apply heading styles first

Docs offers these text styles: Normal text, Title, Subtitle and Heading 1 through Heading 6.

  1. Select the text you want as a heading.
  2. Click Format, then Paragraph styles.
  3. Click a heading style, then click Apply for that style.

Google says each table of contents item links to a heading or to the title, so text that only looks bold or large will not be picked up.

Insert the table of contents

  1. Click in the document where you want the table of contents to appear.
  2. Click Insert, then Page elements, then Table of contents.
  3. Choose a look from the options shown.

Google’s page does not describe the individual looks, so preview them in your own document and pick the one that fits.

Refresh it after you edit

A table of contents does not update on its own as you type.

  1. Add, rename or move a heading in the document.
  2. Click the table of contents.
  3. Click the Refresh icon.

The table then updates to match your headings.

Change the format and which headings appear

  1. Click the table of contents.
  2. To its left, click More table of contents options, then More options.
  3. In the panel on the right, change the format and the heading indents.
  4. Select which headings to display.

This is the place to hide lower-level headings if the list has grown too long.

Delete a table of contents

  1. Right-click the table of contents.
  2. Click Delete table of contents.

The headings in your document are not affected, so you can insert a new table of contents later.

Change how the headings look

The table of contents follows your headings, so restyling them is done on the text itself.

GoalMenu path
Make every heading of one level match your selectionFormat, Paragraph styles, choose the heading, then Update ‘Heading’ to match
Save your styles as the defaultFormat, Paragraph styles, Options, Save as my default styles
Apply your saved defaultsFormat, Paragraph styles, Options, Use my default styles
Go back to Google’s original stylesFormat, Paragraph styles, Options, Reset styles

Google warns that changing Normal text also changes the heading fonts, so check your headings after you edit the body style.

Use the document outline as a shortcut

Docs also builds a side outline from the same headings, which is useful for jumping around a long file.

  1. Click View, then Show outline.
  2. The outline opens on the left.
  3. Click any heading in it to jump to that spot.

To close the outline for now, click the Close document outline icon, which is the back arrow next to the word Outline.

To hide it completely, click View, Show outline again to turn it off.

Fix a missing outline entry

ProblemFix
A line is missing from the outlineSelect the text, click Normal text at the top, and choose a heading style
A subtitle does not appearGoogle says subtitles will not appear in the outline, so use a heading style
You removed a heading from the outlineSelect the heading text, right-click, and choose Add to document outline
You want one heading gonePoint to it in the outline and click the Remove from outline icon on its right

Removing a heading from the outline does not delete the text from your document.

Other View menu tools that help with structure

ToolHow to turn it on or offWhat it shows
RulerView, Show rulerRulers appear automatically when you open a document, and the same menu item hides and shows them
Non-printing charactersView, Show non-printing charactersBlue marks for paragraph, line, section, page and column breaks, plus tabs and spaces
OutlineView, Show outlineA clickable list of your headings on the left

Non-printing characters are the quickest way to find a stray page break that is pushing a heading onto a new page.

The outline once had a summary box, but Google says summaries in Docs are no longer available starting from March 21, 2024.

An older summary can still be found in Drive by selecting the document, clicking More, then the down arrow, File information and Details, where the Description tab holds it.

Pageless documents: collapsible headings and format limits

Pageless format adds one helpful feature and takes one away.

  • Collapsible headings work only in pageless mode, using the Expand heading or Collapse heading icon beside a heading.
  • Right-click a heading and choose Expand all headings of the same style or Collapse all headings of the same style to change many at once.
  • You cannot change table of contents formatting in pageless format, so switch to pages format first.

Google says anyone with edit, comment or view access can expand and collapse headings.

Writing in Word instead? See how to insert and update a table of contents in Word.

To number the pages of the same document, read how to add page numbers and headers in Google Docs.

If a refresh or edit goes wrong, restoring an earlier version of a Google Doc brings the earlier layout back.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *