Skip to main content Pricing for individuals For families For single users For premium users For students Learn more Pricing for business For small business For schools For government Pricing for enterprise For enterprise For frontline workers For nonprofits For government Meet Copilot Copilot Chat AI Agents Daily Prompt Guide Plans and pricing Microsoft Teams Word Excel PowerPoint Outlook OneDrive SharePoint Planner See all apps and services Microsoft Office Windows 365 Microsoft Viva Microsoft Edge Microsoft Agent 365 Plans and pricing Learn to use Copilot Copilot learning center Cost savings Accounts and billing FAQ Setup and install Templates Training What's new Microsoft Frontier Program Microsoft 365 Roadmap Microsoft 365 Blog Small Business Resource Center Self-help resources Billing support Community Contact Microsoft Support Self-help resources Admin self-help Support plans Find a partner Contact Sales Community Self-help resources Educator Center Request support Contact Microsoft Support Community Become a partner Partner resources See all support Try for free

Try Microsoft 365 Copilot

Available on desktop and mobile devices

Table of contents with textHow do you add text to a table of contents? Not a heading, but just plain text?

I was going to write about different commands on the References tab, but then that Add Text button was staring right at me–glaring, in fact.

At the risk of opening up the proverbial can of worms, I’m going to admit that I’ve never been able to get this to work for me–because when I click the button and click a level, my text is reformatted to that level, even though I want the text to stay the same in my document but show up in my table of contents. Maybe I’m misinterpreting it.

So let’s just forget the button for a minute. Here’s a way to add just plain text to your table of contents.

The trick: It isn’t just plain text. You’re going to create a style that’s just for this use. It can look exactly the same as all your text. And it’s easy to do.

Select some of the text that you want to add.

On the Home tab, in the Styles group, click the More button

More button in the Styles group

and then click Save Selection as a New Quick Style.

Save Selection as a New Quick Style

Give your new style a name–for example, TOCBody.

Now, on the References tab, click Table of Contents, and then click Insert Table of Contents.

Click Options.

In the dialog box that opens, scroll down until you see the new style that you just created, and then assign it a level.

New style with a level assigned

For example, if your table of contents will show level 1, level 2, and level 3 headings, type 4 for the level of your new style.

Click OK.

Now, select the text that you want to appear in the table of contents, and then in the Styles group, click your style.

If you’ve already inserted a table of contents, you can click Yes to update your table of contents. Or you can click Insert Table of Contents to insert a new one.

For more information about tables of contents, see Create a table of contents and Word of the week: TOC (changing levels and formatting). For a really in-depth nuts-and-bolts look, see How to create a table of contents by marking text in Word.

— Joannie Stangeland