Skip to content

How to make and update a table of contents in a Word document

Apply Heading styles in DocFila's Word editor, insert a table of contents from the Insert menu and use Update table of contents after you edit.

Open DocFila free

The short answer

Give your section titles a Heading style, put the cursor where the contents should go, open Insert and choose Table of contents. DocFila builds it from the headings. After editing, the same item reads Update table of contents and refreshes it.

Works on: The Word editor is in the DocFila app on macOS, Windows and Linux, in the web app, and on phones, where the toolbar becomes one row that scrolls sideways. It edits .docx files. A free account is enough; creating a new document in the web Workspace asks guests to sign up first.

What do you need?

What are the steps?

  1. Mark your headings. Click a section title and choose Heading 1 from the paragraph style list on the Home tab. Use Heading 2 and Heading 3 for subsections.
  2. Use the Style gallery. Open Style gallery to see paragraph styles and character styles, and Show all styles for the full list.
  3. Place the cursor. Click on the empty line where the contents belong, usually after the title and before the first section.
  4. Insert the contents. Open the Insert menu and choose Table of contents. The list of headings appears with page numbers.
  5. Read the message if it fails. If you see Give some paragraphs a Heading style first, then insert the table of contents, no paragraph has a heading style yet. Go back to step one.
  6. Edit your document. Add, move or rename sections as needed. The contents does not change by itself while you type.
  7. Update it. Open Insert again. Once a contents exists the item reads Update table of contents; choose it to bring titles and page numbers up to date.

What is worth knowing?

What DocFila does not do here

DocFila builds the contents from heading styles; it does not collect text you made bold and large by hand. Custom contents layouts from other apps are kept but may not be rebuilt in the same look. Page numbers in the list reflect DocFila's layout, which can differ slightly from Word's for the same file.

Where to go next

More word, excel and powerpoint how-to guides

Questions

Why does DocFila say to give paragraphs a Heading style first?

The contents is generated from paragraphs styled Heading 1, Heading 2 and so on. If none exist, there is nothing to list, so DocFila asks you to apply headings before inserting.

How do I update the table of contents after editing?

Open the Insert menu and choose Update table of contents, which replaces Table of contents once one exists in the document. It refreshes the titles and the page numbers.

Can I change the look of the headings?

Yes. Use Modify style in the Style gallery to change a style's font, size, colour, spacing and indents, and every paragraph with that style follows, including the lines in the contents.

Try it in DocFila

Free to start, no card needed.