Microsoft Word & Google Docs: How to Build an Automatic Table of Contents
Never type page numbers and dotted leader lines manually again. Let Word and Docs build your table of contents automatically.
Many people still build tables of contents by typing chapter names, pressing the period key fifty times (`............`), and typing a page number. But as soon as you add one paragraph or picture, every single page number shifts and your manual table is completely ruined!
Word processors use built-in structural tags called Heading Styles to generate and update tables of contents automatically with exact page accuracy.
How to Build It in 3 Easy Steps
Highlight your main chapter titles and click Heading 1 in the Home ribbon (or press Ctrl + Alt + 1). Highlight sub-sections and click Heading 2 (Ctrl + Alt + 2).
Place your cursor at the very top of your document (or on a blank page after the title). In Microsoft Word: click References ➔ Table of Contents ➔ select 'Automatic Table 1'. In Google Docs: click Insert ➔ Table of contents.
Whenever you edit text or add pages, click anywhere inside the table of contents and click Update Table (or press F9 in Word). Choose 'Update entire table' to refresh all titles and page numbers instantly!
Customizing Font & Color of Heading Styles
Don't like the default blue Calibri font? Do not format each heading manually!
Instead, format ONE heading exactly how you like (e.g. Arial, 18pt, Navy blue). Then right-click Heading 1 in the Styles gallery ribbon and select 'Update Heading 1 to Match Selection'. Every single Heading 1 in your entire 100-page document will update to your new design instantly!
✨ Key Takeaways
- Never type page numbers or dots manually; use built-in Heading Styles.
- Heading 1 designates top-level chapters; Heading 2 designates nested subheadings.
- In Word: References ➔ Table of Contents; in Docs: Insert ➔ Table of contents.
- Press F9 or click 'Update Table' to refresh page numbers whenever text changes.
Print handwriting lines for notes →