How to make a table of contents in Google Docs

Google Docs logo, which is a simplified illustration of a piece of paper with a dogeared corner.

When you're working on a long document, a table of contents makes it easier to navigate from section to section. By default, Google Docs automatically generates one for you in the side panel based on your document headings. But if you plan to print your document or convert it to a PDF, you may want to generate a table of contents within your document.

Here's a quick refresher on how to create a table of contents in Google Docs (keep scrolling for detailed steps):

  1. Apply heading styles, like Heading 2, to all your section headers.
  2. Click the section of the document where you want your table of contents to appear.
  3. Click Insert >Table of contents.
  4. Choose what style you want: Plain Text, Dotted, or Links.
Supercharge Google Docs

Table of contents:

How to make a table of contents in Google Docs

It's easy to create a table of contents in Google Docs, but first, you need to make sure you've applied heading styles throughout.

  1. Place your cursor anywhere within the text that you want to turn into a section heading.
  2. Click the Styles dropdown.
  3. Click the heading style you want to apply. Alternatively, use your keyboard shortcut: command + option + [heading number] on Mac or Ctrl + Alt + [heading number] . For example, to apply Heading 2, press command + option + 2 or Ctrl + Alt + 2 .

Text style dropdown in Google Docs.

Google Docs with arrows pointing to examples of section headings throughout the doc.

Once you've updated your document with heading styles, you're ready to make a table of contents.

  1. Click the section of the document where you want your table of contents to appear (likely at the beginning of the doc).
  2. Click Insert >Table of contents.

Expanded view of the insert dropdown in Google Docs with an arrow pointing to table of contents.

Example of a table of contents in Google Docs.

Example of a table of contents with dotted lines in Google Docs.

Example of a table of contents with links in Google Docs.

Note: If you're using a pageless view, Google Docs will automatically set your table of contents style to Links—there are no page numbers, after all.

How to edit a table of contents in Google Docs

How to change the table of contents style in Google Docs

  1. Click anywhere in your table of contents, and then select the More options icon, which looks like three dots stacked vertically ( ⋮ ). Select More options.

Table of contents in Google Docs with an expanded view of the more options icon.

Table of contents editing panel in Google Docs.

How to automatically update a table of contents in Google Docs

If you've applied changes to your heading styles or added new sections after you first created your table of contents, Google Docs makes it easy to automatically update your table of contents to match.

Click anywhere in your table of contents, and then click the Update table of contents icon (which looks like a circular arrow) in the floating toolbar.

How to delete a table of contents in Google Docs

Click anywhere in your table of contents, and then select the More options icon ( ⋮ ). Select Remove table of contents.

Table of contents in Google Docs with the option to remove table of contents selected.

Automate Google Docs

If you find yourself creating documents with similar outlines and section headings over and over, save yourself some time by turning your document into a Google Docs template. Once you have your template, connect Google Docs with Zapier. This way, you can automatically populate it with data from other apps, like a spreadsheet. Here's an automated workflow to get you started.

Copy data from new Google Sheets rows to a Google Doc template

Google Sheets, Google Docs Google Sheets + Google Docs

To get started with a Zap template—what we call our pre-made workflows—just click on the button. It only takes a few minutes to set up. You can read more about setting up Zaps here.

Related reading:

Get productivity tips delivered straight to your inbox

We’ll email you 1-3 times per week—and never share your information.

Jessica Lau picture

Jessica Lau is a senior content specialist at Zapier. Outside of writing, she likes to snuggle her dogs, and provide unsolicited podcast and book recommendations.