How-to

How to make a table of contents that updates itself

Updated · 7 min read

The short answer

Apply Heading 1, Heading 2 and so on to your headings, then open the References tab and insert an automatic table of contents. It lists those headings with page numbers. After you edit, update the table (choose Update Table, then Update entire table) so the entries and numbers stay right.

Try it right here

This is the editor you will use. Click it to open a blank page.

A table of contents turns a long document from a wall of text into something a reader can move around in. The best part is that you do not write it. The document builds it from your headings, and rebuilds it when you ask.

What is the difference between automatic and manual?

AutomaticManual
Built fromYour heading stylesPlaceholder text you type over
Updates itself?When you choose Update TableNever; Word cannot update it
Page numbersFilled in for youYou type them
Use it forAlmost everythingA short list you will never change

Step one: how do I use real heading styles?

This is the whole secret, and the reason many tables of contents come out empty. A heading that is just bold and bigger text is invisible to the table. The paragraph needs to carry a Heading 1, Heading 2 or Heading 3 style. We cover why in Word formatting basics.

  1. Select a main section title and, on the Home tab in the Styles group, apply Heading 1. If you only see some styles, open the arrow at the edge of the group for more.
  2. Select subsection titles and apply Heading 2.
  3. Use Heading 3 for anything smaller, and do not skip levels.

Step two: how do I insert the table?

Microsoft's page Create a table of contents (read on 21 October 2026) gives these steps:

  1. Click where the contents page should go, usually near the start, after the cover page.
  2. Open the References tab and choose Table of Contents.
  3. Pick Automatic Table 1 or Automatic Table 2, or choose Custom Table of Contents to set levels and dotted lines.

Avoid the Manual Table choice unless you want to type every entry yourself. In Wrdio, open your file on the home page, press Edit and look on the References tab. The editor is new, so check the result on a copy of an important file.

Step three: how do I keep it up to date?

The table does not change by magic as you type. Microsoft's page Update a table of contents says to choose Update Table on the References tab, then one of two options:

  • Update page numbers only refreshes the pages the headings are on and ignores changes to heading text.
  • Update entire table reflects changed heading text and new headings as well as page changes.

You can also right-click the table and choose Update Field. Do this as the last step before you export or print, every time.

How do I make it look the way I want?

  • Levels. In a custom table, show only Heading 1 and 2 for a short, clean list.
  • Dots and numbers. Choose whether a dotted line leads to the page number.
  • Page numbers. Make sure the document has them. See how to add page numbers.
  • Page break. Put the contents on its own page with a page break after it.

What if something looks wrong?

You seeLikely causeFix
Empty tableNo heading styles usedApply Heading 1 to 3, then update
A heading is missingIt uses normal text, or its level is hiddenApply a heading style or include that level
Page numbers are offYou edited after the last updateUpdate the entire table
An extra line appearsA paragraph has a heading style by accidentChange it back to normal text
Edits to the table vanishIt is automatic and was updatedChange the heading, not the table

What about Google Docs?

Google's page Add a title, heading, or table of contents says to use Insert, Page elements, Table of contents and pick how it looks. Each item links to its heading. After you add a heading, use the refresh icon. You can change the format and which headings show from the side panel, but in pageless format you cannot restyle it.

The report template in Wrdio already uses heading styles, so you can start from there.

Questions people ask

How do I make a table of contents in Word?

Apply heading styles to your headings, then use References, Table of Contents and pick an Automatic Table. It is built from those headings.

Why is my table of contents empty?

No paragraph uses a heading style. Bold or larger text is not enough; apply Heading 1, Heading 2 and so on. A Manual Table of Contents also does not use your headings at all.

How do I update a table of contents?

On the References tab choose Update Table, then pick 'Update page numbers only' or 'Update entire table'. You can also right-click the table and choose Update Field.

What is the difference between the two update choices?

Page numbers only keeps your entries and refreshes the pages. Entire table also picks up changed heading text and new headings. When in doubt, update the entire table.

Can Word update a manual table of contents?

No. Microsoft says a manually created table cannot be updated by Word; you must type the changes yourself.

Can I make a table of contents in Google Docs?

Yes. Choose Insert, Page elements, Table of contents and pick a style. After you add headings, press the refresh icon. Google says you cannot restyle it in pageless format.

Can I make one in Word for the web?

Microsoft's pages we read give the steps for desktop Word and do not describe the web version, so we cannot say what it can do. For a full automatic table, use desktop Word or an editor with a References tab, and check the result.

Keep reading

All guides

More in Formatting and layout

See all guides in this topic