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?
- A .docx with section titles, in editing mode, and Track my changes off.
What are the steps?
- 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.
- Use the Style gallery. Open Style gallery to see paragraph styles and character styles, and Show all styles for the full list.
- Place the cursor. Click on the empty line where the contents belong, usually after the title and before the first section.
- Insert the contents. Open the Insert menu and choose Table of contents. The list of headings appears with page numbers.
- 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.
- Edit your document. Add, move or rename sections as needed. The contents does not change by itself while you type.
- 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?
- Changing how a heading looks is done once in the style: choose Modify style and edit font, size, colour, spacing and indents for every heading at once.
- Update the contents last, after the final edit and any page setup changes, because page numbers shift with margins and fonts.
- Inserting a table of contents is not possible while Track my changes is on; the item is greyed out.
- Word will also let you update the contents when you open the saved file, so the result stays a normal Word feature.
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
Edit Word documents online Page numbers, header and footer Format a table in a Word document Convert a Word document to PDF
More word, excel and powerpoint how-to guides
How to restore an earlier version of a document you saved over How to sort and filter rows in an Excel or CSV spreadsheet How to start a Word or Excel document from a template
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.
Related DocFila tools
Keep going with the document workflow that matches this page. Open the tool you need, then finish the file in DocFila.