Put a Table of Contents on the Side in Word

Build a sidebar-style table of contents in a Word document: place it in a narrow text box, widen it so entries fit, and fix the page numbers.

If you want a table of contents running down the left side of a Word document, the standard insert steps will not get you there. Word places a contents list as a block across the full width of the page, so a sidebar layout takes a few extra moves. Most people who search for this want a narrow contents column beside the body text, and they run into trouble when the entries wrap or the page numbers drift out of line.

This guide shows you how to build that layout in a Word file (.docx), how to widen the contents area so each entry fits on one line, and how to check that the page numbers still match. You need only the Word document and a little time for layout work. The method is the same whether your document is a short handout or a longer report.

How do you put a table of contents on the side in Word? The short answer

Put the contents inside a narrow text box at the left edge of the page, keep your headings in built-in heading styles, and widen the box until every entry fits on one line.

Your situationWhat to doWhy
A short handout or one-page guideUse a two-column section with unequal column widths, with the contents in the narrow left columnThe body text fills the wider right column, and no box needs to be positioned by hand
A longer report where the sidebar should appear on every pagePlace the text box in the headerHeader content repeats on each page, so the sidebar does not have to be copied
A layout that must hold while you keep editingAnchor the text box to a paragraph and set text wrapping so the body clears itAn anchored box moves with its paragraph when text above it changes
A file that other people will open in different programsCheck the sidebar in another Word-compatible editor or in a PDF copyText boxes and columns can shift when a program handles them differently

Before you start

  • Check that your headings use heading styles. Word builds the contents from heading styles only. A line that is just bold and larger will not appear in the list, so fix those lines before you insert anything.
  • Measure the longest heading. Your sidebar needs room for the longest entry plus its page number. Measuring now saves you from resizing the box several times.
  • Decide between a text box and a two-column section. A two-column section works well for a short document where the body text should flow beside the contents. A text box is easier to control in a longer document because it can sit still while the body text moves.
  • Save a copy of the file. Layout changes are hard to undo once you have moved several elements, so work on a copy and keep the original.
  • Leave room on the left margin. If the page has no space for the sidebar, reduce the left margin first, or the box will overlap the page edge.

Building the sidebar table of contents in Word, step by step

  1. Apply heading styles to every section title. The contents list is generated from these styles, so this step comes first. Any heading you miss will be missing from the sidebar too.
  2. Insert a table of contents from Word's built-in tool. Place it at the spot where the sidebar should start, usually near the top of the first page. This creates a field that Word can refresh later.
  3. Create a text box at the left edge of the page. Use Word's text box option from its shapes or insert tools, then draw a narrow box in the left margin area. Set its height to fit the contents you expect to show.
  4. Move the contents into the text box. Cut the table of contents and paste it inside the box. The field moves with the text, so you can still update it later.
  5. Widen the box until entries fit on one line. Drag a side handle or enter a width in the box's size settings. A box that is too narrow wraps long entries and crowds the page numbers.
  6. Reset the page-number tab stop. Page numbers in a contents list sit at a right-aligned tab stop with dot leaders. Move that tab stop to the new right edge of the box so the numbers stay on the same line as their entries.
  7. Set text wrapping so the body clears the box. Choose a wrapping option that keeps the body text beside the sidebar instead of running underneath it. Then scroll through the pages to confirm the spacing.
  8. Update the table of contents. Refresh the whole table so the page numbers match the final layout. Do this after every layout change, not only at the end.

Check the result

CheckHow to see itIf it's wrong
Every heading appearsCompare the sidebar list with the headings in the bodyApply the heading style to the missing heading, then update the table
Page numbers matchGo to two or three listed pages and see whether the heading is thereUpdate the whole table; if numbers stay wrong, confirm the contents is still a field and not plain typed text
Entries fit on one lineLook at the sidebar in print layout at normal zoomWiden the box, or shorten the longest heading
Body text clears the boxScroll through pages where body text sits beside the sidebarChange the text wrapping setting, or move the box
The layout holds in other programsOpen the file in the UniDoc web editor (app.unidoc.top) or save a PDF copy and check the sidebarSimplify the layout, keep the box anchored, and test again

When you check a converted or translated copy, read the sidebar entries yourself. Machine translation and OCR can change the wording and spacing of headings, so confirm important titles against the source.

❓ FAQ

1. Will the sidebar table of contents appear on every page?

Yes, if you place the text box in the header, because header content repeats on each page. The box will show the same full list everywhere, so this suits a short document or a fixed index better than a long report with changing sections.

2. Can I put the table of contents on the right side instead?

Yes. Use the same steps, but place the text box at the right margin and set the body text to wrap on the left side of the box. The page-number tab stop still has to match the box's right edge, so check it after you widen the box.

3. Why does my table of contents show a heading I deleted?

The contents list is a field, so it keeps old entries until you update it. Update the whole table after you remove or rename headings.

📝 Summary

A sidebar table of contents in Word comes down to three things: a narrow text box or column, headings that use built-in styles, and a page-number tab stop that matches the width you choose. Once the layout is set, update the table and check each page to confirm that the body text clears the sidebar.

Open OmniDoc to edit and export your documents

Updated 2026-11-04