Where to find the table of contents tool in your software
Most document editors have a built-in table of contents feature that reads your headings and builds a clickable list automatically. In Microsoft Word, go to the References tab and select Table of Contents — you'll see several layout options. In Google Docs, click Insert, then Table of Contents, and choose between a numbered or linked format. LibreOffice Writer users find it under Insert > Table of Contents and Index > Table of Contents. The software scans your document for heading styles and creates the list in seconds.
The table of contents appears wherever you place your cursor before inserting it, so position it after your title page or introduction. Most writers put it on its own page right after the cover or opening section. If you add or delete sections later, you can update the table of contents with one click — Word calls this "Update Table," Google Docs refreshes it automatically, and LibreOffice uses "Update Index."
Key Takeaways
- Your document must use heading styles (Heading 1, Heading 2, etc.) rather than just bold text for the table of contents to work.
- Word, Google Docs, and LibreOffice all generate tables of contents automatically from your headings with a single menu click.
- Place your cursor where you want the table to appear, usually on a blank page after your title or introduction.
- After you finish writing or make major changes, update the table of contents so page numbers and section titles stay accurate.
Why your headings need to use styles, not just bold text
A table of contents works by scanning your document for text formatted with heading styles. If you make a heading bold or larger by hand, the software cannot tell it is a heading and will not include it in the list. This is the most common reason a table of contents comes out incomplete or empty.
To fix this, select each heading in your document and apply the correct style from the Styles menu. In Word, highlight the text and click Heading 1 (for main sections), Heading 2 (for subsections), or Heading 3 (for sub-subsections) in the Home tab. In Google Docs, select the text, click the Format menu, then Normal Text, and choose the heading level you need. LibreOffice works the same way — select the text and pick the heading style from the Styles sidebar on the left. Once your headings are styled correctly, the table of contents will find them all.
How to structure your headings for a clear table of contents
A well-organized table of contents reflects a clear hierarchy of headings. Use Heading 1 for your main chapter or section titles, Heading 2 for subsections within those chapters, and Heading 3 for smaller subdivisions if needed. Do not skip levels — do not jump from Heading 1 directly to Heading 3. Readers scanning the table of contents will expect each level to nest logically under the one above it.
For example, a document might have "Chapter 1: Getting Started" as Heading 1, "What You Need" and "First Steps" as Heading 2 under that chapter, and "Gathering Your Materials" as Heading 3 under "What You Need." When you generate the table of contents, it will show this structure with indentation, making it easy for readers to see which sections belong together. Most documents work well with just Heading 1 and Heading 2 — Heading 3 is useful only for longer, more detailed works.
Updating your table of contents after you make changes
Once you have written your document and added sections or changed heading titles, you need to refresh the table of contents so it shows the current page numbers and section names. In Word, right-click on the table of contents and select Update Field. A dialog will appear asking whether to update page numbers only or the entire table — choose "Update entire table" if you added or renamed sections. In Google Docs, the table updates automatically whenever you change a heading, so you do not need to do anything manually.
LibreOffice requires you to right-click the table of contents and select Update Index. If you have moved sections around or deleted headings, this refresh will remove them from the table and adjust all page numbers. Make updating a final step before you share or print your document — a table of contents with wrong page numbers or missing sections looks unfinished and confuses readers trying to navigate.
Customizing the appearance of your table of contents
Most document editors let you choose how your table of contents looks. In Word, the Table of Contents gallery shows several preset designs — some include page numbers on the right, others list them next to the heading, and some omit page numbers entirely. Click the design you prefer and Word applies it. You can also right-click the table and select Modify to change fonts, spacing, or indentation to match your document's style.
Google Docs offers fewer customization options but lets you choose between a blue hyperlinked format and a plain text format. LibreOffice's table of contents can be customized through the Table of Contents dialog — you can adjust which heading levels appear, change the tab leader (the dots between a heading and its page number), and modify fonts and spacing. For most documents, the default design works fine and requires no changes.
Making your table of contents clickable in digital documents
If you are sharing your document as a PDF or sending it as a Word file that readers will open on screen, a clickable table of contents saves them time. In Word, the table of contents is automatically hyperlinked — readers can hold Ctrl and click any entry to jump to that section. Google Docs does the same by default. LibreOffice also creates clickable links, though you may need to enable them in the Table of Contents dialog under the Hyperlink option.
When you convert your document to PDF, these links usually survive the conversion, so readers can click the table of contents in the PDF viewer and jump to sections instantly. This is especially useful for long documents, manuals, or reports that readers may not read straight through. Test your links after converting to PDF to make sure they work — some PDF creators strip hyperlinks, so you may need to adjust your export settings.
Troubleshooting a table of contents that looks wrong
If your table of contents is missing sections, shows wrong page numbers, or looks incomplete, check these common issues. First, make sure every heading in your document uses a heading style, not just bold or larger text. Second, verify that you have not skipped heading levels — if you jumped from Heading 1 to Heading 3, some software may not include Heading 3 in the table. Third, update the table of contents after making any changes to your headings or document structure.
If page numbers are still wrong after updating, your document may have section breaks or page breaks that are confusing the software. In Word, go to the Home tab and click the pilcrow (¶) symbol to show all formatting marks — look for section breaks or page breaks near your headings and delete any that should not be there. In Google Docs and LibreOffice, page numbering is usually more straightforward, but restarting the software sometimes fixes numbering glitches. If the table of contents still does not work, delete it and create a new one from scratch.
Frequently Asked Questions
Can I create a table of contents without using heading styles?
No — the software needs heading styles to know which text to include. You can manually type a table of contents, but it will not update automatically when you change your document. Using styles takes a few extra minutes but saves time later and keeps everything accurate.
What if I want different heading levels to look different in my table of contents?
In Word and LibreOffice, you can customize how each heading level appears in the table of contents through the Modify or Table of Contents dialog. You can change fonts, colors, indentation, and spacing for Heading 1, Heading 2, and so on separately. Google Docs offers less control but applies consistent formatting to all levels.
Does the table of contents take up a lot of space in my document?
A table of contents usually takes one page or less, depending on how many sections you have. You can place it on its own page or on the same page as your introduction. If your document is very short, you may not need a table of contents at all — they are most useful for documents longer than 10 pages.
What happens if I delete a section after creating the table of contents?
The deleted section will stay in the table of contents until you update it. Right-click the table and select Update Field (Word) or Update Index (LibreOffice), or wait for Google Docs to refresh automatically. The software will remove the deleted section and renumber the remaining pages.
Can I add a table of contents to a document I have already finished writing?
Yes, but you will need to go back and apply heading styles to all your section titles first. This takes time if your document is long, but once the styles are in place, generating the table of contents is instant. Plan ahead and use heading styles as you write to avoid this extra work later.