I would like to have the Table of Contents only include Heading 1 and not any of the others. Is there a way to set the table to contents to NOT include certain headings?

The only "solution" would be to change the headers you want to hide to the "Normal" style, then manually set the font formatting for each heading.

The only way to avoid all headings from being added to the TOC is to manually apply the style you want rather than using the set styles. Change those headers to "Normal" style by select each one individually and pressing Ctrl + \ (Control plus the backslash key). This will remove the formatting. Then manually add the point size, font, and bolding that you want.

To easily copy formatting from one place to another, you can use the Paint Tool. So once you manually change one heading, you can use the Paint Tool to change others that are the same level heading.

The previous answers suggests setting the style of headers to "Normal" and manually setting their style to look like a header. If you do so, you will lose the ability to link to that header from within the document.

It looks like you can actually manually delete items from the table of contents. I think that's a simpler approach.

• Yet then you'll have to do this each time you update the table of content. – Royi Sep 27 '17 at 16:53
• Also, when inserting the table of contents, the page numbers are calculated. So if your table of contents with the extra headings is moving things around, the page numbers will be wrong after deleting the extra lines. – Laura Oct 11 '17 at 19:24

What I did to solve the problem which is probably doc specific, but I was using H1 through H3, what would have been H4 I didn't want to show up in the TOC. I converted all the H4's to Subtitles, then styled Subtitles the way I wanted it.

Subtitles don't show up in the TOC.

From what I can, tell this action is impossible on Google Docs, as other answers have mentioned. However, it would appear that there is another way if you have access to Microsoft Word:

Export the document into a .docx from Google Drive, which can be done when selecting what form you wish to download the document in. Then open this in Word and alter the table of contents using the following guide: https://support.office.com/en-us/article/format-or-customize-a-table-of-contents-9d85eb9c-0b55-4795-8abb-a49885b3a58d#layout

Guide Outline:

• Select the drop down list from References>Table of Contents from the top bar.
• Select Custom Table of Contents... from the list.
• To change the number of levels displayed in your table of contents, click Show levels, and then click the number of levels you want.

I haven't tested this so I'll edit the answer with more feedback.

Yes, there's a workaround for this, and you can keep your heading structure.