• Home

  • Productivity

  • App tips

App tips

3 min read

How to make a table of contents in Google Docs

By Jessica Lau · February 16, 2024
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

Table of contents:

  • How to make a table of contents in Google Docs 

  • How to edit a table of contents in Google Docs 

  • How to delete a table of contents in Google Docs 

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.

  4. Repeat the process throughout the rest of your document. 

    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.
  3. Choose what style you want: Plain Text, Dotted, or Links.

    • Plain Text will display the heading names and page numbers. The heading names won't look like links, but when clicked, they'll bring you to the corresponding section.

      Example of a table of contents in Google Docs.
    • Dotted is the same as Plain Text but with a dotted line connecting the heading name to the page number.

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

    • Links turns the heading names into visible hyperlinks and doesn't include the page numbers.

      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.

  2. In the Table of contents side panel that appears, you can change the style under Formatting. You also have the option to change how a given heading style is indented within the table of contents. 

    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.

Demo of how to update a table of contents in Google Docs by clicking the table's refresh button.

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

Copy data from new Google Sheets rows to a Google Doc template
  • Google Sheets logo
  • Google Docs logo
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

  • Make your Google Docs pretty with these formatting tricks

  • How to do a hanging indent in Google Docs

  • Google Docs features to improve your workflows

  • How to use Google Docs version history

  • How to add a checkbox to Google Docs

Get productivity tips delivered straight to your inbox

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

tags
mentioned apps

Related articles

Improve your productivity automatically. Use Zapier to get your apps working together.

Sign up
See how Zapier works
A Zap with the trigger 'When I get a new lead from Facebook,' and the action 'Notify my team in Slack'