SharePoint Document Issues

How to Fix Missing Table of Contents Web Part in Modern SharePoint

Khadija KhanKhadija Khan Nov 4, 2026 869 views

Question details

Users are looking for ways to add a table of contents to their SharePoint pages because the built-in web part is no longer available.

How to Fix Missing Table of Contents Web Part in Modern SharePoint
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Creating or formatting a long modern SharePoint page where users need jumping links or page navigation for better readability.
Observed behavior
The traditional Table of Contents web part, which was present in classic SharePoint, is completely missing from the modern SharePoint web part gallery.
Before you start

Verify that your site is using the Modern experience, as classic SharePoint pages still support the legacy Table of Contents web part.

Solution 1Recommended

Create a Manual Table of Contents Using Anchor Links

Use the standard Text web part to manually build a table of contents by hyperlinking to the automatic anchor links generated by SharePoint headings.

Modern SharePoint automatically generates anchor URLs for any text formatted as a Heading. You can leverage these to create manual page jumps.

1
Add Headings to your page

In your existing Text web parts, format the titles of your sections as Heading 1, Heading 2, or Heading 3.

2
Copy the anchor links

Publish or save your page as a draft. Hover your cursor over the headings you just created to reveal the chain-link icon. Right-click this icon and select 'Copy link'.

3
Create the Table of Contents area

Edit the page again and add a new Text web part at the top of your page. Type out your list of sections.

4
Hyperlink the text

Highlight the text for your first section item, click the Hyperlink icon on the text toolbar, and paste the anchor link you copied. Repeat this for all sections.

Create a Manual Table of Contents Using Anchor Links
Link Updates: If you change the text of your section headings later, SharePoint will generate a new anchor link, and you will need to manually update your Table of Contents.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While SharePoint handles your site structures and cloud storage, you still need a robust tool to create and edit the documents you share. WPS Office is a high-performance, free suite that handles your Word, Excel, and PowerPoint files natively, making it an excellent companion for managing SharePoint documents offline.

Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx) downloaded from SharePointFamiliar ribbon interface ensures zero learning curveLightweight installation that runs fast even on older devicesFree built-in PDF tools to convert your SharePoint documents effortlessly
microsoft office alternative - wps office

Frequently Asked Questions

Why did Microsoft remove the Table of Contents web part in modern SharePoint?

Modern SharePoint pages were redesigned from scratch to be responsive and mobile-friendly. During this redesign, many classic web parts were deprecated because they relied on outdated code. Microsoft encourages using text anchors or custom SPFx solutions instead.

Can I force a classic web part onto a modern page?

No, modern SharePoint pages do not support classic web parts natively. You can only use modern web parts found in the updated '+' menu.

Do heading anchor links work on mobile devices?

Yes. If you create a manual table of contents using heading anchor links, users tapping the links on the SharePoint mobile app or mobile browsers will correctly jump to the respective sections.

Is there a Microsoft roadmap to bring the TOC web part back?

Currently, Microsoft has not announced a built-in automated TOC web part for modern pages. Users frequently submit feedback on the Microsoft Feedback portal, but for now, the community PnP web parts serve as the best automated alternative.