How to Insert a Table of Contents in Word + Google Docs

November 11, 2026 · 10 min read

How to Insert a Table of Contents in Word (and Google Docs)

Here's how to insert a table of contents in Word. Format your section titles with Heading 1, Heading 2 and Heading 3. Click where the list should go, then choose References, Table of Contents and an automatic style. Word builds the list from those headings. This guide covers Windows, Mac and the web, plus Google Docs.

Apply Heading Styles Before You Insert Anything

Word doesn't read your document the way you do. A line in bold 16 pt type looks like a heading, but Word only lists text that carries a heading style or an outline level. The table can draw on heading styles, outline levels and other named styles. Plain bold text isn't on that list.

So the real work happens before you touch the References tab:

  1. Select a section title.
  2. On the Home tab, open the Styles gallery and click Heading 1.
  3. Use Heading 2 for subsections and Heading 3 for the level below that.

On Windows, Ctrl+Alt+1, Ctrl+Alt+2 and Ctrl+Alt+3 apply those three styles from the keyboard. If you don't like how the headings look, right-click the style in the gallery and choose Modify, rather than reformatting each heading by hand.

We prefer checking the structure in the Navigation Pane first. In Word for Windows, press Ctrl+F, or go to View and tick Navigation Pane. Every heading Word recognizes shows up there, so a missing title in the pane means a missing entry in your table.

How to Insert a Table of Contents in Word, Step by Step

Once the headings are styled, here's how to create a table of contents in Word in four steps. They follow Microsoft's insert a table of contents instructions for Word on Windows.

  1. Put your cursor where the table should go, usually on a blank page after the title page. Insert, Page Break gives it a page of its own.
  2. Open the References tab.
  3. Click Table of Contents at the far left of the ribbon.
  4. Choose one of the Automatic styles.

Word fills in every heading with its page number, and each entry links to its heading. On Windows, Ctrl+click an entry to jump there. The gallery also offers a Manual Table style. Avoid it unless you really want to type each line yourself, because it inserts placeholder text that Word can't update from your headings.

The automatic table isn't plain text. It's a field, which is why it can rebuild itself later, and why your hand edits inside it don't last (more on that below).

Inserting a Table of Contents in Word for Mac and Word for the Web

Word for Mac works the same way. Click where you want the table, go to References, then Table of Contents, and pick an Automatic Table of Contents style from the gallery. The Manual style behaves the same as on Windows and won't update on its own.

Microsoft's steps for Word for the web use a single button instead of a gallery:

  1. Click where the table should go.
  2. Select References, then Insert Table of Contents.
  3. To refresh it later, right-click the table and choose Update Table of Contents.

The limitation is that Microsoft's web instructions only cover inserting and updating. Expect fewer choices there, and open the file in the desktop app when you need custom levels or styling.

How Do I Make My Word Table of Contents Only Include Heading 1?

Most long documents end up with a table that's too detailed. To keep only the top level, open the Custom Table of Contents dialog on the desktop app:

  1. Go to References, then Table of Contents.
  2. Choose Custom Table of Contents at the bottom of the menu.
  3. Set the number of levels to 1 and click OK.

Word asks whether to replace the current table. Click Yes and it rebuilds the table with one level. Microsoft's guide to customizing a table of contents covers the rest of the dialog. You can show or hide page numbers, align them, and change the tab leader (the dotted line before each number).

To change the font or spacing of the entries, click Modify in that dialog. If Modify is grayed out, set Formats to From template first. Each level has its own style, so you edit the first-level entries and the second-level entries separately.

Adding or Hiding Individual Entries in the Table

Sometimes a line belongs in the table without looking like a heading, such as an appendix label set in a custom style. Other times a heading should stay out, such as a heading on the cover page.

You can control both at the paragraph level. The table also picks up outline levels set directly in a paragraph's settings, not only those that come from a style:

  • To add a line: select it, open the Paragraph settings and give it an outline level, such as Level 1.
  • To leave a line out: if it uses a heading style, switch it to a non-heading style. If it only has an outline level from the Paragraph settings, set that back to Body Text.

Word for Windows also puts an Add Text button next to Table of Contents on the References tab. It offers Level 1, Level 2 and Level 3 plus Do Not Show in Table of Contents, which is a quicker way to do the same thing. Update the table afterwards so the change appears.

Updating the Table After You Edit

Knowing how to add a table of contents in Word is half the job, because Word doesn't refresh the table as you type. After you add sections or your page breaks move, update it yourself. Microsoft's update a table of contents page gives the route:

  1. On the References tab, click Update Table.
  2. Pick Update page numbers only if you just moved text around, or Update entire table if you renamed, added or removed headings.
  3. Click OK.

On Windows you can also right-click the table and choose Update Field, or click inside it and press F9, which updates the selected field.

Here's the catch with Update entire table: it rebuilds every line from your headings. Any change you typed directly into the table, such as a reworded entry, disappears. Fix the heading in the document instead and let the table follow.

Why Is My Word Table of Contents Wrong?

These are the five problems you're most likely to hit, with the fix for each.

What you seeLikely causeFix
A section is missingIts title isn't styled as a headingApply Heading 1 or 2, then update the entire table
A body paragraph shows upIt has an outline level, or a heading style was applied by mistakeSet it to Normal or Body Text, then update
Page numbers are offText moved after you inserted the tableUpdate page numbers only
Error! Bookmark not defined.A heading the table points to was deletedUpdate entire table
Your edits to an entry vanishedUpdating rebuilt the table from headingsChange the heading itself instead

The bookmark error needs a little more explanation. Word tracks each heading in the table with a hidden bookmark. When a heading is deleted along with the text around it, its bookmark goes too, and the entry has nothing left to point to. Rebuilding the whole table usually clears it.

To start over, select the whole table and press Delete. Word for Windows also lists Remove Table of Contents at the bottom of the Table of Contents menu.

How to Make a Table of Contents in Google Docs

Google Docs follows the same rule: headings first, table second. Google's table of contents help lays out the steps:

  1. Select each section title, go to Format, then Paragraph styles, and choose a heading level.
  2. Click where the table should go.
  3. Choose Insert, then Page elements, then Table of contents.
  4. Pick one of the looks Docs offers.

Docs doesn't refresh the table automatically either. Click the table, then click Refresh after you add or rename headings. To the left of the table, More table of contents options leads to More options, a side panel where you choose which headings appear and adjust indents. If your document uses pageless format, you can't change the table's formatting. To remove it, right-click and choose Delete table of contents.

Taking a Word Table of Contents to Markdown

Markdown has no table of contents field and no page numbers, so a Word table can't come across as a live table. What does carry over is the heading structure you built. Our Word to Markdown converter maps Word heading styles to Markdown headings. A document with a Heading 1 title, two Heading 2 sections and one Heading 3 subsection comes out like this:

# Annual Report

## Summary

## Results

### Regional Results

Each # marks one heading level, so the outline you built in Word survives even though the table itself doesn't. We'd delete the Word table before converting, so its old entries don't come through as stray lines above your first heading.

Then paste the result into the table of contents generator, which builds a linked list of headings using one of six anchor slug styles, including GitHub's and GitLab's. The Markdown table of contents guide covers the manual methods, and Word to Markdown compares conversion routes. For documents typeset in LaTeX, see our LaTeX table of contents guide.

That's how to insert a table of contents in Word: style the headings and choose an automatic table from the References tab. Then trim the levels you don't need and update it whenever the document changes. The same heading discipline makes Google Docs and Markdown conversions work too. When you move a document into Markdown, build its linked contents list with the TOC generator and keep writing in the editor.