How to Set Up a Word Table of Contents and Common Options

Explain how to generate a Word table of contents, compare the three methods—heading styles, outline levels, and TOC entry tags—and describe in detail common options such as display levels, page numbers, and hyperlinks, helping you choose the right settings before you begin.

Many people finish writing a report or paper in Word only to discover that the table of contents has to be typed manually, or that the generated table is missing some chapters, or that the page numbers don’t match. In most cases, these issues aren’t due to incorrect operation; rather, they stem from not first understanding the rules by which the table of contents is generated. Readers searching for "how to set up a table of contents in Word" often find themselves in this situation: they want to add a table of contents to a document spanning dozens of pages but are unsure which method to use and what each option in the dialog box controls.

This article explains several things you need to understand before setting up a table of contents: what criteria Word uses to include entries, which common methods are best suited for different types of documents, and how the frequently used options affect specific parts of the table. After reading it, you can determine the appropriate method for your document and then adjust the formatting, rather than relying on trial and error.

The procedures described in this article are based on the standard desktop version of Word; the specific interface may vary slightly between versions, but the underlying logic is universal.

How do you set up a Word table of contents? One-sentence conclusion

Conclusion: Most documents require only three steps: apply heading styles to the titles, insert an automatic table of contents, and then adjust the display levels and page number format as needed. The table of contents is "generated from the headings"; if the headings are not set up correctly, the table of contents will inevitably be incorrect.

Your situationRecommended practiceReason
Standard reports, papers, and manuals: section title conventionsInsert an automatic table of contents using heading styles.Set it at least, and then modifying the chapter name will also update it with one click.
The title is bolded manually; no style was applied.First, change the headings to the corresponding heading styles, then generate the table of contents.The table of contents does not recognize bolding; it only recognizes styles or outline levels.
I only want to include certain levels, for example, listing only first-level headings.Adjust display levelAvoid excessively long tables of contents to enable readers to skim more quickly.
You need to include some non-heading content in the table of contents (such as appendix table titles).Using table of contents entries as markers or methods related to captionsTitle styles do not apply to this type of entry.
The document will undergo major structural changes in the future.Stick to the title style; do not manually type the table of contents.Manually updating the table of contents is time-consuming and does not automatically synchronize page numbers.

How the Table of Contents Is Generated: Heading Styles and Outline Levels

Word generates the table of contents based on paragraphs in the document that are marked as"headings."This marking primarily takes two forms.

Heading Styles

Heading styles are commonly used, namely the paragraph styles typically referred to as Heading 1, Heading 2, and Heading 3. First-level chapters use Heading 1, second-level subsections use Heading 2, and so on. The table of contents arranges entries with hierarchical indentation according to these styles.

Note that heading styles control whether"this is a heading and which level it belongs to,"while font size, color, and bolding are cosmetic aspects of the style that can be modified separately without affecting inclusion in the table of contents.

Outline Level

A paragraph also has an"Outline Level"attribute, with values ranging from body text to levels 1 through 9. The table of contents can likewise include entries based on outline levels. This is useful in certain special cases—for example, when you’re using custom styles and want them to appear in the table of contents, or when a particular paragraph of body text has been assigned a heading level in Outline view.

Points That Are Easy to Confuse

  • Bold text is not the same as a heading. Changing a line of text to bold or a larger font size will prevent it from being included in the table of contents.
  • Having the same style name does not guarantee usability. Paragraphs copied from other documents may carry styles with the same name but different definitions, leading to inconsistent results when generating the table of contents. It is recommended to consistently apply the heading styles defined in this document.
  • The number of headings does not equal the number of entries. The table of contents lists only paragraphs that have been explicitly marked; subheadings in the main text without a heading style will not appear.

Three Common Methods and the Function of Options

The"table of contents methods"commonly found online can be broadly divided into three categories. The first two are automatically generated, while the third is manual or semi-manual.

Detailed Explanation of Common Options

When opening the custom settings for the table of contents, you will mainly see the following categories of options:

  • Display Level: Determines how many heading levels are included in the table of contents. Selecting level 2 lists only headings 1 and 2; selecting level 3 also includes headings 3. The more levels you include, the longer the table of contents will be.
  • Show Page Numbers: Controls whether page numbers appear after each entry. When disabled, the table of contents displays only the text entries, which is suitable for web-style documents.
  • Page Numbers Right-Aligned: Aligns page numbers to the right and can be used with a leader (e.g., dots or dashes). This is a common style for formal documents.
  • Tab Leader: Specifies the character between the entry and the page number, such as dots, hyphens, or spaces. It affects only the visual appearance and does not change the content.
  • Use Hyperlinks: In electronic versions, clicking a table of contents entry jumps directly to the corresponding location. This typically has no effect when printing but is very convenient for digital reading.
  • Format Template: Provides several pre-designed table of contents styles. After selection, you can further fine-tune fonts and indents.

Core Comparison

MethodHow to generateWhat kind of document is it suitable for?Key Features
Title Style MethodApply Heading 1 through Heading 9 to the titles.Most documents, such as reports, papers, contracts, and manualsSave time—after modification, you can update with a single click.
Outline Level MethodSet the outline level in the paragraph properties.Documents with custom styles that require special indexingFlexible, but requires confirmation paragraph by paragraph, making it easy to overlook details.
Directory entry markupAdd separate table of contents entries for the text that needs to be included.Documents that require selecting specific entries, appendix names, or figure/table titlesHighly controllable, but becomes cumbersome with a large number of tags.
Manual Table of ContentsEnter text and page numbers directlyA very short temporary document, or one that only needs to be displayed onceIt doesn't update automatically; the page numbers get out of sync as soon as you change them.

If you just want to know"how many types of Word tables of contents there are,"you can remember this simply: automatic tables of contents rely mainly on heading styles or outline levels, with an additional manual tagging method; however, manually entered tables of contents are not recommended for formal documents.

How to Use It in Practice

The following steps apply to generating a table of contents in Word for a standard long document.

  1. Check the heading structure: For each chapter, ensure that first-level sections use Heading 1 and sub-sections use Heading 2; avoid skipping levels, such as going directly from Heading 1 to Heading 3.
  2. Clean up manual formatting: Identify "fake headings" distinguished only by bolding or font size, and uniformly change them to the corresponding heading styles.
  3. Insert a table of contents: At the desired location, insert an automatic table of contents and select a formatting template.
  4. Adjust display levels: Decide how many levels to include based on the document's length. For a report of around thirty pages, including two to three levels is usually appropriate.
  5. Set page numbers and leaders: In formal documents, page numbering is typically enabled and right-aligned, while leaders should be chosen according to the formatting requirements of your institution or organization.
  6. Update after modifying the body text: After adding, deleting, or renumbering chapters, select the table of contents and perform an update. If only the page numbers have changed, choose to update page numbers only; if chapter titles or structure have been modified, choose to update the entire table of contents.

If your document is a Word file obtained through translation—for example, when you upload a several-dozen-page English paper to OmniDoc and choose bilingual side-by-side view or translated text only before downloading—the titles in the translated file may sometimes lose their formatting or appear inconsistently formatted. In such cases, first check the titles following steps 1 and 2, then insert the table of contents; this will yield more reliable results. If you need to continue editing this .docx file on the web, the UniDoc web editor (app.unidoc.top), which supports Word-compatible editing, can be used to verify and modify the title structure.

🎯 Which approach is right for you?

  • Writing a thesis or project report: Use heading styles, set the level to around level 3, enable page numbers and hyperlinks, and format consistently according to requirements.
  • Writing only a few pages of instructions or notices: A table of contents is not necessary; if needed, generate a two-level table of contents using heading styles.
  • Frequent changes to document structure: Stick to heading styles and update the table of contents after each modification; do not manually enter entries.
  • Selecting specific items (e.g., appendices, lists of figures and tables): Use table of contents entry tags or related caption features to generate separate lists.

❓ Frequently Asked Questions (FAQ)

1. What should I do if several headings are missing after generating the table of contents?

First, check whether these headings have been assigned a heading style or an outline level. If they are merely bolded or resized, they will not be included in the table of contents. Once you’ve made the necessary changes, simply update the entire table of contents.

2. I edited the main text, but the page numbers in the table of contents didn't change—why?

The table of contents does not synchronize in real time; you must update it manually after making changes. Select the table of contents and choose Update. If page numbers have changed, only the page numbers will be updated; if the chapter structure has changed, the entire table of contents will be updated.

3. An unwanted entry appears in the table of contents; how can I remove it?

Typically, a certain section of text has been mistakenly formatted as a heading or assigned an outline level. Locate that paragraph, change its style to body text, and then update the table of contents. Alternatively, you can lower the display level to reduce the number of included levels.

4. What is the difference between a manually entered table of contents and an automatic one?

Automatic tables of contents are generated based on headings and can be updated with a single click after modification; manual tables of contents consist of directly entered text and page numbers, requiring individual updates whenever page numbers change, which is prone to errors. For formal documents, it is recommended to use automatic tables of contents.

5. What should you pay attention to regarding the table of contents in a Word document obtained through machine translation?

The formatting of translated document titles may be inconsistent; it is recommended to verify headings at all levels before generating the table of contents. Machine-translated content should also be checked paragraph by paragraph, especially chapter titles and terminology, to prevent discrepancies between the table of contents and the main text.

📝 Summary

The core of Word table of contents setup is to first standardize the heading structure, then adjust the appearance using options such as display levels, page numbers, and hyperlinks. The heading style method suits most documents, while a manual table of contents is only suitable for temporary use. If you organize the headings clearly, the table of contents can usually be generated correctly in one go.

Open OmniDoc to edit and export documents online.

Updated 2026-11-29