Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamhow to create a table of contents in Word
To create a table of contents in Microsoft Word:
Apply Word’s built-in heading styles to your section titles:
Place the cursor where you want the table of contents, usually near the beginning of the document. (support.microsoft.com)
Go to References > Table of Contents and choose an Automatic Table style. In some versions, you may see Insert Table of Contents. (support.microsoft.com)
If you later change headings or page layout, click the TOC and update it:
Word’s automatic table of contents is a field-generated index based on the document’s structural metadata, specifically its heading styles. This is why a TOC works reliably only when the document is formatted semantically, not just visually. A heading that merely looks large and bold is still body text unless it is tagged as Heading 1, Heading 2, and so on. (support.microsoft.com)
Step 1: Mark headings properly
Step 2: Insert the TOC
Step 3: Update when the document changes A Word TOC is dynamic, but it does not always refresh itself instantly after edits. You typically need to update it manually:
| Problem | Likely cause | Fix |
|---|---|---|
| “No table of contents entries found” | Headings were not formatted with Word heading styles | Apply Heading 1/2/3 and update the TOC |
| A normal paragraph appears in the TOC | That paragraph was accidentally given a heading style | Change it back to Normal and update |
| New sections do not appear | You updated page numbers only | Use Update entire table |
| Heading levels are missing | TOC is set to show too few levels | Use Custom Table of Contents and increase levels shown |
These behaviors follow directly from Microsoft’s TOC system: headings drive the index, and updating the table determines whether only pagination or the full structure is refreshed. (support.microsoft.com)
As of Microsoft’s current support documentation available in early April 2026, this workflow applies across Word for Microsoft 365, Word for the web, Word 2024, Word 2021, Word 2019, and Word 2016, with small interface wording differences between platforms. For example, some versions show Table of Contents, while others may show Insert Table of Contents in the same References area. (support.microsoft.com)
A useful current best practice is to rely on built-in styles and automatic TOCs rather than manual tables. Microsoft explicitly notes that a manual table of contents is not automatically updated by Word, so it is less suitable for documents that will change. (support.microsoft.com)
If you want different formatting or more control:
Suppose your document has:
When you insert an automatic TOC, Word reads those heading levels and creates a nested contents list with matching page numbers. If you later add a new Heading 1 called Conclusion, it will not appear until you choose Update entire table. (support.microsoft.com)
This task has minimal ethical or legal risk, but in professional settings a TOC affects:
From an engineering documentation perspective, an incorrect TOC is a traceability issue: readers may not be able to locate required sections efficiently. Because Word’s TOC depends on document structure, disciplined use of styles is part of good documentation practice. This is consistent with Microsoft’s heading-based design. (support.microsoft.com)
If you just want the shortest path:
If you want to go beyond a basic TOC, the next useful topics are:
A table of contents in Word is created by:
If you want, I can also give you: