Formatting Issues

Align Word Table of Contents Titles and Page Numbers

Steve KSteve K Nov 22, 2026 868 views

Question details

Set up a Word table of contents with left-aligned titles, right-aligned page numbers, and dotted leaders using built-in TOC styles.

Align Word Table of Contents Titles Left and Page Numbers Right
Product
Microsoft Word
Device & OS
not provided
Scenario
The user wants to format an automatic table of contents consistently across heading levels.
Observed behavior
Chapter titles should align to the left, with page numbers aligned to the right and dotted leaders between them.
Before you start

Apply Word’s built-in Heading styles to the chapter titles you want included. Click inside the existing table of contents if you want to replace or adjust it.

Solution 1Recommended

Configure Word’s automatic table of contents

Use the built-in TOC settings and styles to align entries without formatting each line manually.

1
Open the TOC settings

In Word, select References > Table of Contents > Custom Table of Contents.

2
Set page number alignment

In the Table of Contents dialog, select Show page numbers and Right align page numbers. Choose the dotted option under Tab leader.

3
Adjust TOC styles if needed

Select Modify, choose TOC 1 or another relevant level, and select Modify. Use Format > Paragraph to adjust alignment and indents, or Format > Tabs to adjust tab stops.

4
Apply and update

Select OK to insert the TOC. If Word asks whether to replace the existing table, confirm; later, use References > Update Table to refresh it.

Configure Word’s automatic table of contents
Indented subheadings: TOC 2 and lower levels may be indented by design. Adjust each level’s paragraph indent if you want all titles to start at the same left position.
Work with tables of contents in WPS Writer

Create an aligned table of contents in WPS Writer

Use WPS Writer’s table of contents tools to generate entries from headings and configure page numbers and leaders where available.

  1. 1. Open the document: Open WPS Writer and use Open to select your Word document.
  2. 2. Apply heading styles: Select each chapter title and choose an appropriate Heading style from the Home tab.
  3. 3. Insert the table: Place the cursor where the table should appear, then open References > Table of Contents and choose the custom or insert option.
  4. 4. Configure and refresh: In the table of contents settings, enable page numbers and right alignment and select a dotted leader if those options are available. Insert the table, then use Update Table after editing headings.
Generate a table of contents from document headingsAlign page numbers and use dotted leaders for easier navigationOpen and edit Microsoft Word DOC and DOCX filesUse a familiar interface with free document-editing tools
microsoft office alternative - wps office

Frequently Asked Questions

How do I add dotted lines before page numbers in Word?

Go to References > Table of Contents > Custom Table of Contents, enable page numbers and right alignment, and select the dotted option under Tab leader.

Why are some TOC titles indented?

Different heading levels use different TOC styles. In the custom table of contents dialog, select Modify, choose the relevant TOC style, and adjust its indent under Format > Paragraph.

How do I update page numbers after editing the document?

Click the table of contents and choose References > Update Table. Choose to update page numbers only, or update the entire table if headings have changed.

Why is a chapter missing from my table of contents?

Select the chapter title and apply an appropriate Heading style on the Home tab. Then update the entire table through References > Update Table.