Create an Automatic Table of Contents in Word for Mac
Question details
The user wants to generate an automatic table of contents from an existing Word for Mac document without manually copying and pasting headings.

- Product
- Microsoft Word for Mac
- Device & OS
- macOS
- Scenario
- An existing document needs a table of contents based on its section headings.
- Observed behavior
- The desired result is a generated table of contents that lists headings and page numbers and can be updated after edits.
Open the existing document and identify which paragraphs should appear as top-level headings and subheadings. Check their styles on the Home tab; large or bold text alone does not make a paragraph a heading for an automatic table of contents.
Generate a table of contents using built-in heading styles
Use this method to build an automatic table of contents from headings already present in your Word for Mac document.
Word uses heading styles to identify entries and their hierarchy. Heading 1 creates top-level entries, Heading 2 creates the next level, and additional heading styles represent deeper levels.
Select a top-level heading in the document, then choose Home > Styles > Heading 1. Apply Heading 2 to subheadings and other built-in Heading styles as needed. Repeat for each heading you want included.
Click where the table of contents should appear, usually near the beginning of the document. If it should occupy a separate page, use Insert > Break > Page Break to separate it from the body text.
Go to References > Table of Contents and choose an automatic table of contents style. Word generates the entries from your heading styles and adds their page numbers.
After changing headings or document layout, click inside the table of contents and choose References > Update Table. Select Update entire table when headings have changed, or Update page numbers only when only pagination has changed, then confirm.

Build an Automatic Table of Contents in WPS Writer
WPS Writer can generate a table of contents from an existing document's heading styles. Open your Word file, apply heading levels, and insert a table of contents from the References tab without copying headings manually.
- 1. Open your Word document: Launch WPS Writer and use Menu > Open to select your existing .doc or .docx document.
- 2. Assign heading levels: Select each section heading and use Home > Styles to apply Heading 1, Heading 2, or another appropriate heading level.
- 3. Insert the table of contents: Place the cursor where the table should appear, then open References > Table of Contents and select an automatic layout.
- 4. Refresh the table after changes: Click inside the table of contents and use References > Update TOC. Choose an entire-table update if you changed heading text or added sections, or a page-number update if only pagination changed.

Frequently Asked Questions
Can I create a table of contents without copying headings into it?
Yes. In Word for Mac, apply built-in heading styles through Home > Styles, then select References > Table of Contents and choose an automatic style. Word builds the entries from those styled paragraphs.
Why is a heading missing from my table of contents?
Select the missing heading and check Home > Styles. Apply the appropriate Heading style rather than only making the text bold or larger, then choose References > Update Table > Update entire table. If a deeper heading level is still missing, check the number of levels included under References > Table of Contents > Custom Table of Contents.
How do I update the table after adding a new section?
Apply a built-in Heading style to the new section title. Click inside the table of contents, choose References > Update Table, and select Update entire table so Word includes the new entry.
Should I update page numbers only or the entire table?
Use Update page numbers only when the headings are unchanged but their page locations have moved. Use Update entire table after adding, removing, renaming, or changing the level of headings.
Can WPS Writer create a table of contents in a Word file?
Yes. Open the .doc or .docx file in WPS Writer, apply heading styles from Home > Styles, and insert the table through References > Table of Contents. Check the document layout and update the table before saving.




