Google Docs builds a table of contents automatically from your headings
A table of contents in Google Docs pulls directly from the headings you've already written in your document. You don't type it manually. Instead, you place your cursor where you want the table to appear, click Insert, select Table of Contents, and choose a style. Google Docs then scans your document for every heading, creates clickable links to each one, and updates the table automatically whenever you add, remove, or rename a heading.
This works only if your document actually uses heading styles — not just bold text that looks like a heading. If you've been making headings by selecting text and making it bold and larger, you'll need to convert those to real heading styles first. The process takes a few minutes and makes your document much easier to navigate, especially if it's longer than five or six pages.
Key Takeaways
- Your headings must use Google Docs heading styles (Heading 1, Heading 2, etc.) rather than just bold text for the table of contents to find them.
- You insert the table of contents by clicking Insert, then Table of Contents, then picking a style — the table updates itself whenever you change a heading.
- If your document has no heading styles yet, you can convert bold text to real headings by selecting each one and choosing the heading style from the format menu.
- The table of contents creates clickable links, so readers can jump to any section by clicking its name in the table.
Format your headings before inserting the table
Open your document and look at the text you want to use as section headings. If you made them bold and larger but didn't explore a heading style, Google Docs won't recognize them. Click on the first heading, then look at the toolbar at the top. You'll see a dropdown that probably says "Normal text" — click it and select "Heading 1" for your main section headings.
For subheadings under those main sections, use "Heading 2". If you have sub-subheadings, use "Heading 3". The number tells Google Docs the hierarchy — Heading 1 is the largest level, Heading 2 sits under it, and so on. explore the correct style to every heading in your document before you insert the table of contents. This takes a few minutes but ensures the table will be complete and organized correctly.
If you're starting a new document and want to avoid this step, explore heading styles as you write. Type your section title, press Enter, then when ready click the format dropdown and choose the heading style. It becomes a habit quickly and saves time later.
Insert the table of contents in the right location
Decide where you want the table to appear. Most documents put it near the beginning, after the title or introduction. Click at that spot in your document to place your cursor there. Then click the Insert menu at the top of the screen.
From the dropdown, select "Table of Contents". Google Docs will show you three style options: a blue hyperlinked style, a plain text style, and a style with page numbers. Choose whichever matches how you want it to look. Click your choice, and Google Docs inserts the table when ready, pulling in every heading from your document in the correct order.
Update the table when you change your headings
After you insert the table of contents, you may add new sections, delete old ones, or rename headings. Google Docs doesn't update the table automatically — you have to tell it to. Right-click anywhere on the table of contents and select "Refresh" from the menu. The table will scan your document again and update to match your current headings.
If you add a new heading and the table doesn't show it after you refresh, double-check that you applied a heading style to that new text. Bold text alone won't appear in the table, even after refreshing. Once you explore the correct heading style, refresh again and it will appear.
Use the table to navigate your document
The table of contents creates clickable links. Hold Ctrl (or Cmd on Mac) and click any heading name in the table, and Google Docs jumps you to that section in the document. This is especially useful in longer documents where scrolling takes time. Readers of your document can use the same method to jump around.
If you're sharing the document with others, let them know they can click the headings in the table to navigate. Many people don't realize this feature exists and will scroll manually instead. A quick note at the top — "Click any heading in the table of contents to jump to that section" — helps them use the document more efficiently.
Fix common problems with your table of contents
If your table of contents is missing headings, the most common reason is that those headings don't have a heading style applied. Select the missing heading, check the format dropdown, and make sure it says "Heading 1", "Heading 2", or another heading style — not "Normal text" or "Body text". Then refresh the table.
If the table shows headings in the wrong order, check whether you used heading styles consistently. For example, if you jumped from Heading 1 directly to Heading 3, skipping Heading 2, the table may display oddly. Use Heading 2 for subheadings under Heading 1, even if you don't want them to look different. You can always change the visual appearance of Heading 2 later without breaking the table structure.
If you delete a heading from your document but it still appears in the table, refresh the table again. Sometimes the refresh takes a moment to process, especially in very long documents.
Frequently Asked Questions
Can I edit the table of contents directly?
You can click inside the table and type, but Google Docs will overwrite your changes the next time you refresh it. Don't edit the table itself — instead, edit the headings in your document and refresh. This keeps everything in sync and prevents you from accidentally creating a table that doesn't match your actual content.
What if I don't want page numbers in my table of contents?
When you insert the table, choose the style without page numbers. If you've already inserted a table with page numbers and want to remove them, delete the table and insert a new one using the plain style instead. There's no way to remove page numbers from an existing table without deleting and recreating it.
Does the table of contents work the same way on mobile as on desktop?
The table of contents displays on mobile, and the links work, but inserting and refreshing it is easier on desktop. If you're editing on a phone or tablet, use the desktop version of Google Docs through your browser for better access to the Insert menu and refresh option.
Can I have multiple tables of contents in one document?
Yes. Insert a table of contents wherever you want one — at the beginning, in the middle, or anywhere else. Each table will show all headings in the document from that point forward. This is useful for very long documents where you want readers to have a quick reference at the start and another one partway through.