October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Mountain View desk7 min

Automatic Table of Contents: Create, Update, and Fix One in Word, Google Docs, and WordPress

Create a refreshable table of contents from heading styles in Word or Google Docs, or generate one from HTML headings on WordPress sites. Includes update steps, customization, troubleshooting, and accessibility checks.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

An automatic table of contents (TOC) is generated from a document’s structured headings instead of being typed by hand. In Microsoft Word, apply Heading 1, Heading 2, and Heading 3 styles, insert the TOC from References > Table of Contents, and update the field after edits. Google Docs uses the same heading-based idea, while websites build TOCs from HTML headings and anchor links.

What an automatic table of contents does

A TOC lists a document’s sections in their hierarchy. In a paginated Word document it can include page numbers; in digital documents its entries can link to the corresponding heading. The generator reads structural heading information, not simply bold text, a larger font, or extra spacing.

As an Amazon Associate I earn from qualifying purchases.

“Automatic” does not necessarily mean real-time. Word and Google Docs normally require an explicit update or refresh after headings, pagination, or layout change.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The essential rule: use heading styles

Before inserting a TOC, assign heading levels that match the document’s structure:

#1 Best Overall
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites
  • Heading 1: main chapters or sections.
  • Heading 2: subsections within a Heading 1.
  • Heading 3: lower-level subsections.

Do not simulate headings with formatting alone. A heading’s appearance is visual; its assigned style or outline level is what makes it eligible for a TOC. Keep the hierarchy logical rather than jumping from Heading 1 directly to Heading 3 without a reason. Numbering such as 1, 1.1, and 1.1.1 is separate from the heading level.

How to create an automatic TOC in Microsoft Word

These steps apply to Word for Microsoft 365, Word 2024, and Word 2021 on Windows and macOS; labels can vary slightly by platform. Microsoft’s current instructions are available in its Word table of contents guide.

  1. Select a section heading, then choose Home > Styles > Heading 1, Heading 2, or the appropriate level. Repeat for every heading intended for the TOC.
  2. Click where the TOC should appear, commonly after a title page or other front matter.
  3. Choose References > Table of Contents.
  4. Select one of the automatic table styles. Word inserts entries from the document’s heading structure.

If a heading is absent, it is usually still formatted as Normal text, the TOC is limited to fewer levels, or the field has not been updated.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Logitech K400 Plus Wireless Touch TV Keyboard for PC-Connected TV - Black
  • Media-Friendly: The K400 Plus wireless touch TV keyboard gives you integrated, comfortable control of your PC-to-TV entertainment, eliminating the clutter of a separate keyboard and mouse
  • Plug-and-Play: Simply plug the Unifying receiver into a USB port and the wireless touchpad keyboard is ready to go; adjust controls using the Logitech Options Software to save preferred settings
  • Power-Packed: Built with laid-back control in mind, this wireless TV keyboard has a reliable and long battery life of up to 18 months (2), including an on/off button to help it go even longer
  • Wireless Freedom: Designed for seamless comfort and control, this HTPC keyboard boasts a range of up to 33 ft (1) wireless connectivity, with quiet keys and a large touchpad for easy navigation
  • Broad Compatibility: Designed for use with Windows 7, Windows 8, Windows 10 and later, Android 7 or later, and Chrome OS

Update the TOC after editing

  1. Right-click inside the TOC.
  2. Choose Update Field or Update Table of Contents.
  3. Choose Update page numbers only when headings and hierarchy are unchanged. Choose Update entire table after adding, deleting, renaming, reordering, or re-leveling headings.

Update the entire table when uncertain. Refresh fields before printing or exporting to PDF, because pagination can change after layout edits.

Word for the web

Word for the web supports inserting and updating a TOC through its References controls. Advanced desktop customization may not be available or may use different labels, so open the document in desktop Word when you need detailed style, level, or leader control.

Customize levels, fonts, leaders, and page numbers

For more control, choose References > Table of Contents > Custom Table of Contents. Depending on the edition, options include:

Rank #3
Sale
Logitech K270 Full Size Wireless Keyboard for Windows - Black | Full-size keyboard with number pad, 8 multimedia keys, includes USB-A receiver, 2-year battery, compatible with PC, laptop
  • All-day Comfort: This USB keyboard creates a comfortable and familiar typing experience thanks to the deep-profile keys and standard full-size layout with all F-keys, number pad and arrow keys
  • Built to Last: The spill-proof (2) design and durable print characters keep you on track for years to come despite any on-the-job mishaps; it’s a reliable partner for your desk at home, or at work
  • Long-lasting Battery Life: A 24-month battery life (4) means you can go for 2 years without the hassle of changing batteries of your wireless full-size keyboard
  • Simply plug the USB receiver into a USB port on your desktop, laptop or netbook computer and start using the keyboard right away without any software installation
  • Simply Wireless: Forget about drop-outs and delays thanks to a strong, reliable wireless connection with up to 33 ft range (5); K270 is compatible with Windows 7, 8, 10 or later
  • How many heading levels appear.
  • Whether page numbers are shown and right-aligned.
  • Tab leaders, such as dotted lines.
  • Indentation for nested levels.
  • Fonts and formatting through the TOC styles.
  • Which custom styles map to TOC levels.
  • Clickable entries in the digital document.

Modify the underlying heading style or TOC style rather than formatting individual generated lines. Direct edits to generated entries can disappear at the next update. A custom style must be mapped to a TOC level; changing its font does not automatically make it a heading.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create a clickable TOC in Google Docs

Google Docs generates linked entries from title and heading styles. Its documented workflow is described at Google’s table of contents help page.

  1. Select each section heading and choose Format > Paragraph styles > Heading 1–6, then select Apply.
  2. Place the cursor where the TOC belongs.
  3. Choose Insert > Page elements > Table of contents.
  4. Select a display style.
  5. After changing headings, click the TOC’s Refresh button.

Google Docs TOCs are primarily navigation links rather than Word-style print-layout fields. You can change the displayed heading selection, text styles, and indents, but Google states that TOC formatting cannot be changed in pageless format.

Rank #4
Sale
Wireless Keyboard and Mouse Combo, Full Size Silent Ergonomic Keyboard and Mouse, Long Battery Life, Optical Mouse, 2.4G Lag-Free Cordless Mice Keyboard for Computer, Mac, Laptop, PC, Windows
  • 【Ergonomic Wireless Keyboard Mouse 】: Wireless ergonomic keyboard is equipped with adjustable height tilt legs to increase comfort and prevent your wrists injury when typing for a long time. The full size wireless keyboard with numeric keypad and 12 multimedia shortcut keys, such as play/ pause, volume increase and decrease, and email, to help you improve work efficiency
  • 【Stable & Reliable Wireless Connection】: This wireless keyboard and mouse combo share the same USB receiver(stored in the mouse), and they can also be used separately. Plug & play, no need to download any software, 2.4 GHz wireless provides a powerful and reliable connection up to 33 feet(10m) without any delays.You can enjoy the convenience and freedom of wireless connection at home or at work
  • 【Comfortable Optical Mouse】: This compact lightweight wireless mouse features a hand-friendly contoured shape for all-day comfort, and smooth, precise tracking.1600 DPI to meet your daily needs. Perfect for home & office work and entertainment
  • 【Long Battery Life】: Up to 365 Days of battery life for keyboard and mouse wireless, say goodbye to the hassle of charging cables and replacing batteries. After 10 minutes of inactivity, the wireless keyboard mouse combo will automatically go into sleep mode to save energy. The wireless keyboard requires one AAA battery, and the wireless mouse requires one AA battery.
  • 【Less Noise, More Quiet Keys】: Soft membrane keys provide a quiet and comfortable typing experience, So you can type with confidence on a wireless keyboard crafted for comfort, precision and fluidity. The wireless mouse adopts silent micro-motion technology, which is almost completely silent when clicked. No more concerns about disturbing others.

Why headings or page numbers are wrong in Word

Missing headings

  • The text is bold or large but still uses Normal text.
  • A custom style is not assigned a TOC level.
  • The TOC has not been updated after the heading was added.
  • The selected TOC displays fewer levels than the missing heading.
  • The heading is inside a text box, shape, table, or imported content area that Word does not include as expected.

Select the heading, apply the correct built-in style, and update the entire table. For a custom style, map it to a TOC level in the custom TOC settings.

Wrong page numbers

Common causes include updating text without page numbers, changing layout after the last update, section breaks, columns, landscape pages, or exporting before fields were refreshed. Use Update entire table, review breaks and pagination, then inspect the exported PDF rather than relying only on the editing view.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Wrong nesting

Reapply Heading 1, Heading 2, and Heading 3 where needed. Check the TOC’s level limit and custom mappings. Manual numbering does not repair an incorrect structural hierarchy.

Best Value
Logitech K250 Compact Wireless Bluetooth Keyboard with Number Pad, Graphite
  • Connect in seconds: Fast, easy Bluetooth wireless technology simply connects without the need for a dongle or USB port
  • Durable and reliable: Built for quality, K250 offers long-lasting keys, a spill-resistant design (2)
  • Comfort is key: Deep-profile keys and an adjustable tilt-leg design make typing feel great
  • Space-saving: with a compact layout that still includes number pad, arrow keys, and handy F-key shortcuts
  • Made responsibly: Designed to last, K250 plastic parts are durably made with minimum 64% recycled plastic (3) to withstand everyday use

The TOC will not update

Word’s Manual Table of Contents is placeholder text and cannot update from document headings, as Microsoft explains in its support documentation. Confirm that an automatic option was inserted, click directly inside the field, and use the update command. If the field is locked, damaged, or came from a problematic conversion, save a copy, correct the styles, delete the TOC, and insert a new automatic one.

Formatting disappears

This usually means individual generated entries were formatted instead of the TOC styles. Set durable formatting in the corresponding style definitions.

Duplicate or unwanted entries

Remove heading styles from decorative labels, captions, navigation text, and sidebar content. In custom TOC settings, limit the heading range or exclude unwanted styles.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Automatic versus manual TOC

Feature Automatic TOC Manual TOC
Built from heading structure Yes No
Updates after heading changes Yes, after refresh or update No
Page numbers can be regenerated Yes No
Best for long, changing documents Yes Usually no
Fastest to type initially Sometimes Yes
Appropriate use Reports, books, theses, manuals Frozen or highly unusual one-off layouts

Automatic TOCs on websites and WordPress

A web TOC normally scans semantic <h1> through <h6> elements, gives each heading a unique ID, and renders a nested list of anchor links. CSS and JavaScript may add sticky positioning, collapse controls, smooth scrolling, active-section highlighting, or back-to-top links.

On WordPress, plugins such as Easy Table of Contents and CM Table of Contents parse headings and can insert TOCs into posts, pages, or custom post types. Selection, exclusions, placement, and advanced features depend on the plugin and its configuration. A plugin is useful when many pages need consistent automatic navigation; it is unnecessary for a single document or a site that already has a native TOC system.

Web failure points

  • Duplicate IDs or repeated heading text create ambiguous destinations.
  • Page builders may output unexpected heading markup.
  • Navigation, widgets, accordions, or sidebars may be scanned unintentionally.
  • Headings inserted dynamically may appear after the TOC is generated.
  • International characters can produce unreliable or duplicate slugs.
  • A sticky header can cover the destination heading.
  • JavaScript-dependent TOCs may fail when scripts are blocked or delayed.

Accessibility and mobile checks

  • Use semantic heading elements and give the TOC a clear accessible label.
  • Make every link and expand/collapse control keyboard reachable, with visible focus.
  • Do not rely only on color to show the active section.
  • Test narrow screens and assistive technologies.
  • Keep the hierarchy understandable when levels are collapsed.

The existence of a TOC does not prove that a plugin, theme, or custom script is accessible; inspect the generated markup and interactions.

Which method should you choose?

Need Best choice Reason
Print-ready Word report or PDF with page numbers Word’s native automatic TOC Uses heading styles and regenerates pagination.
Real-time collaboration in the cloud Google Docs Shared editing and linked heading navigation.
TOCs across many WordPress pages WordPress plugin Automated placement, exclusions, and site-wide controls.
Custom publishing stack or unusual behavior HTML/CSS/JavaScript Complete control over markup, performance, and interaction.
Deliberately frozen or art-directed list Manual TOC No future synchronization is required.

Use Word’s native feature first for Word documents and Google Docs’ native feature for collaborative documents. Consider paid software or plugins only when their workflow solves a specific publishing or layout requirement; basic TOC creation usually needs no add-on.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 2
Logitech K400 Plus Wireless Touch TV Keyboard for PC-Connected TV - Black
Logitech K400 Plus Wireless Touch TV Keyboard for PC-Connected TV - Black
Product carbon footprint: 4.9 kg CO2e Certified carbon neutral
$31.86
SaleBestseller No. 3
Logitech K270 Full Size Wireless Keyboard for Windows - Black | Full-size keyboard with number pad, 8 multimedia keys, includes USB-A receiver, 2-year battery, compatible with PC, laptop
Logitech K270 Full Size Wireless Keyboard for Windows - Black | Full-size keyboard with number pad, 8 multimedia keys, includes USB-A receiver, 2-year battery, compatible with PC, laptop
Plastic parts in K270 include 38% certified post-consumer recycled plastic; Eight hot keys: For instant access to the Internet, e-mail, music volume and more
$21.48
Bestseller No. 5
Logitech K250 Compact Wireless Bluetooth Keyboard with Number Pad, Graphite
Logitech K250 Compact Wireless Bluetooth Keyboard with Number Pad, Graphite
Comfort is key: Deep-profile keys and an adjustable tilt-leg design make typing feel great
$22.99

Final checks before sharing or publishing

Word

  • All intended sections use heading styles.
  • Levels reflect the actual hierarchy.
  • An automatic, not manual, TOC was inserted.
  • The displayed level count is correct.
  • The entire table was updated after final edits.
  • Page numbers were checked after layout changes.
  • Exported PDF links and destinations work.
  • Generated entries were not overwritten individually.
  • Custom styles were mapped to TOC levels.

Google Docs

  • Headings use Heading 1–6 styles.
  • The TOC was inserted through Insert > Page elements > Table of contents.
  • The TOC was refreshed after changes.
  • Pageless mode is avoided when custom TOC formatting is needed.
  • Links reach the intended headings.

Website

  • Heading markup is semantic and levels are sensible.
  • Anchor IDs are unique.
  • Keyboard navigation and focus states work.
  • Sticky headers do not obscure destinations.
  • Mobile layout is usable.
  • Unwanted headings are excluded.
  • Theme or page-builder changes have been retested.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.