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 want | What to do |
|---|---|
| Insert one | Click where it should go, then Insert, Page elements, Table of contents, and choose a look |
| Update it after edits | Click the Refresh icon on the table of contents |
| Change its format | Click it, then More table of contents options, then More options |
| Remove it | Right-click it and choose Delete table of contents |
| Add a missing entry | Apply 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.
- Select the text you want as a heading.
- Click Format, then Paragraph styles.
- 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
- Click in the document where you want the table of contents to appear.
- Click Insert, then Page elements, then Table of contents.
- 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.
- Add, rename or move a heading in the document.
- Click the table of contents.
- Click the Refresh icon.
The table then updates to match your headings.
Change the format and which headings appear
- Click the table of contents.
- To its left, click More table of contents options, then More options.
- In the panel on the right, change the format and the heading indents.
- 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
- Right-click the table of contents.
- 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.
| Goal | Menu path |
|---|---|
| Make every heading of one level match your selection | Format, Paragraph styles, choose the heading, then Update ‘Heading’ to match |
| Save your styles as the default | Format, Paragraph styles, Options, Save as my default styles |
| Apply your saved defaults | Format, Paragraph styles, Options, Use my default styles |
| Go back to Google’s original styles | Format, 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.
- Click View, then Show outline.
- The outline opens on the left.
- 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
| Problem | Fix |
|---|---|
| A line is missing from the outline | Select the text, click Normal text at the top, and choose a heading style |
| A subtitle does not appear | Google says subtitles will not appear in the outline, so use a heading style |
| You removed a heading from the outline | Select the heading text, right-click, and choose Add to document outline |
| You want one heading gone | Point 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
| Tool | How to turn it on or off | What it shows |
|---|---|---|
| Ruler | View, Show ruler | Rulers appear automatically when you open a document, and the same menu item hides and shows them |
| Non-printing characters | View, Show non-printing characters | Blue marks for paragraph, line, section, page and column breaks, plus tabs and spaces |
| Outline | View, Show outline | A 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.
Related guides
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.