Table of Contents for Word for the Web

Margaret England 0 Reputation points
2026-11-10T18:00:16.74+00:00

I am using Word for the Web. When I create a table of contents, all the page numbers are the same (page 1). I have change headings and updated, but still the same page number. If you hover the cursor over any given section of the table of contents and select that section, you are taken to the correct section and page. How do I get the online version of Word to correctly list the table of contents page numbers?

Microsoft 365 and Office | Word | For business | Windows

2 answers

Sort by: Most helpful
  1. Hendrix 2,770 Reputation points Independent Advisor
    2026-11-10T18:25:18.2266667+00:00

    Hi Margaret,

    Regarding your concern, since selecting an entry takes you to the correct heading, the headings and TOC links are working correctly. The page numbers issue is likely due to the Word for the Web limitation. An automatic TOC is based on heading styles and automatically updated after page or heading changes. However, Word for the Web uses a lighter layout engine and calculates pagination differently compared to the Word desktop app.

    That's the reason, for advanced Word formatting like TOC, sections, footnotes/endnotes, etc., I highly recommend using the Word desktop version for reliable advanced pagination and final document formatting. You can continue using Word for the Web, but for basic editing and collaboration only.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-10T18:01:26.7633333+00:00

    Open the document in desktop Word and update the entire table of contents there; Word for the web may continue to display incorrect TOC page numbers because its browser layout and pagination can differ, so there is no dependable browser-only correction for this symptom.

    Update it in desktop Word

    Since changing the headings and updating the table online did not help:

    1. In Word for the web, select Editing → Open in Desktop App.
    2. In desktop Word, click anywhere inside the table of contents.
    3. Select References → Update Table.
    4. Choose Update entire table, then select OK. This recalculates both the entries and their page numbers. ^1^
    5. Save the document and allow it to synchronize back to OneDrive or SharePoint.

    The fact that each entry already opens the correct heading indicates that the TOC links are working; the displayed page numbers are the affected part.

    Verify the fixed-layout result

    Check the document in desktop Word or use File → Print in Word for the web and inspect the generated PDF preview. Word for the web creates a PDF specifically to preserve document layout and formatting. ^2^

    • Correct in desktop Word or PDF, but still “1” in the browser: the document itself is likely correct; the remaining discrepancy is the Word for the web display limitation. Use desktop Word or the PDF as the authoritative final pagination.
    • Still incorrect in desktop Word and PDF: inspect the document’s section/page-number configuration in desktop Word. Different page numbering across sections requires desktop Word rather than Word for the web. ^3^

    If desktop Word is unavailable, someone with the desktop application will need to update the file, or the PDF output should be used for the final fixed-page version.


    References

    1. Update a table of contents | Microsoft Support
    2. Word for the web
    3. Add page number X of Y to your Word for the web document | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.