How to Insert a Table of Contents in Word
Learn how to insert a table of contents in Word by applying heading styles, inserting the built-in contents, and updating page numbers after edits.
If you have a long report, thesis, or manual to share, readers need a way to jump to the right section. A table of contents solves that, but many people try to build one by hand, typing section names and page numbers that go stale the moment they edit. This guide shows how to insert a table of contents in Word so it builds itself from your headings and stays accurate when you update it.
The method is the same in any word processor that opens .docx files: style your headings, insert the built-in contents, then update it. Once you understand that workflow, adding or removing sections takes seconds. If you do not have a desktop word processor installed, the last section covers an option in a browser.
The steps below assume you already have a document with a title and some chapter or section headings. You will get a clean, automatic table of contents, a short checklist for verifying it, and a few fixes for common problems.
How do you insert a table of contents in Word? The short answer
Apply heading styles to your section titles, place the cursor where the contents should appear, insert the built-in table of contents, and update it whenever you change the document.
| Your situation | What to do | Why |
|---|---|---|
| Headings look bold and large but use normal text | Reapply each heading as Heading 1 or Heading 2 | The table only reads paragraphs that carry a heading style |
| You have a Word installed | Style headings, then insert the built-in table from your word processor's references or insert options | The table is generated from styles and stays linked to the document |
| You only have a browser | Open the .docx in the UniDoc web editor and check headings and the table there | It offers Word-compatible editing without a desktop install |
| You edited text or moved sections | Update the table, choosing page numbers only or the entire table | Page numbers and entries change after edits |
| You want only chapter titles listed | Set the table to include only the top heading level | Shorter contents work well for long manuals |
Before you start
Check these things first. Each one prevents a common reason the table ends up empty, wrong, or out of date.
- Heading styles, not formatting. Typing a title in bold or a bigger font looks like a heading but is not one for the table of contents. Use the built-in heading styles so the table can recognize each title and its level.
- A consistent hierarchy. Chapter titles should share one level, and sections under them should share the next level. Mixed levels produce an indented list that is hard to read.
- A final or near-final draft. Inserting the table early is fine, but you will need to update it after content moves. Knowing the structure first saves repeated updates.
- A clear place for the contents. Decide whether the table should follow the title page, sit on its own page, or appear after a front matter section. Adding a page break before inserting it keeps the layout tidy.
- A saved copy. Keep a backup before you update fields in a long document, so you can compare before and after if something shifts.
Inserting the table of contents in Word, step by step
- Open the document and list your headings. Scroll through and note every title that should appear in the contents, usually chapter and section titles. Skip captions, running headers, and body text.
- Apply heading styles to each title. Select a chapter title and choose Heading 1 from your word processor's style gallery. Select each section title and apply Heading 2. Repeat for every heading, using the level that matches its place in the outline.
- Place the cursor where the contents will go. Click on an empty line, often after the title page. If the contents should start on a new page, insert a page break first so the table begins cleanly.
- Insert the built-in table of contents. Look for the table of contents option in your word processor's references or insert options. Choose one of the built-in automatic styles instead of a manual table, because only the automatic version can be updated.
- Review the generated entries. Scroll through the list and confirm that each heading appears, indented by its level. The page numbers should match where each heading sits in the document.
- Update after every major edit. When you add, delete, or rename headings, or move sections, update the table. Choose to update page numbers only for small layout changes, or the entire table when headings have changed.
- Save the file as .docx. Saving in the standard Word format keeps the table of contents linked to your headings, so it works when the file is opened again or shared with others.
Check the result
Once the table is in place, run through these checks before you send the document to anyone.
| Check | How to see it | If it's wrong |
|---|---|---|
| Every heading appears | Scan the list against your outline | Apply the heading style to the missing paragraph, then update the table |
| Levels are indented correctly | Look at the indentation of each entry | Change the paragraph to the right heading level, then update |
| No stray text appears | Look for normal body sentences in the list | Restyle those paragraphs as body text or delete them, then update |
| Page numbers match | Click an entry and confirm it jumps to the right page | Update page numbers only, then recheck any section breaks |
| Table survives a round trip | Open the saved file in another editor and look at the list | Rebuild the table in the original editor, then save again |
🎯 Which approach fits you?
Your setup determines the path that makes sense. The steps are the same in principle, but the tools differ.
- You work in a desktop word processor. Use the built-in table of contents and update it from within that program. This is the simplest route for a document you will keep editing.
- You need to edit a .docx without installing a desktop program. Open the file in the UniDoc web editor at app.unidoc.top. It supports Word-compatible editing, so you can review headings, edit text, and check the table in a browser. Confirm the table displays correctly before you rely on it.
- You want the contents to appear in a shared view. Share the saved .docx so the table of contents keeps its links to your headings and updates behave as expected.
❓ FAQ
1. Why is my table of contents empty?
The table only collects paragraphs with a heading style. If your titles are bold or large but use normal text, reapply Heading 1 or Heading 2 and update the table.
2. Can I list only chapter titles and skip sections?
Yes. In the table settings, limit the levels so only the top heading level is included. This works well for short reports and long manuals where section detail would clutter the page.
3. Why are my page numbers off by one?
Front matter such as a title page or a contents page often uses different numbering, and a section break can restart the count. Check how page numbers begin in your front matter, then update the page numbers in the table.
4. Can I make a table of contents without heading styles?
You can type a manual list, but it will not update when you edit the document. Heading styles are the only reliable way to keep the list accurate as the document changes.
📝 Summary
A table of contents in Word is built from heading styles, so apply Heading 1 and Heading 2 to your titles before you insert it. Update the table after each major edit, and run the checks before sharing. If you need to work without a desktop install, the UniDoc web editor can help you review the file in a browser.


