SEO

Table of Contents

Also called TOC, in-page navigation

A list of links to a page's own sections, letting a reader jump to the part they came for.

Quick facts: Table of Contents

Category
SEO
Also called
TOC, in-page navigation
Level
Beginner
Affects
Reading experience on long pages, section links in results, engagement
Where to see it
Any browser, your CMS heading structure, Google Search Console
In this article4
  1. How a table of contents works
  2. Why a table of contents matters
  3. Common mistakes with a table of contents
  4. How to act on it

How a table of contents works

A table of contents is built from the page’s own headings. Each heading is given an identifier in the markup, and each entry in the list links to that identifier, so clicking it moves the reader down the page instead of loading a new one. Nothing is fetched and no new URL is visited — the browser simply scrolls.

Because it is generated from headings, the quality of the list is decided entirely by the quality of the headings. Sections named for what they answer produce a useful list. Sections named as slogans produce a list that tells a reader nothing, and no plugin can rescue that.

Search engines read the same structure. Google sometimes shows links to individual sections beneath a result, and it builds those from the page’s headings and anchors rather than from any particular plugin. You cannot force it and should not promise it to a client, but a clearly divided page is the only version that can qualify.

Why a table of contents matters

Most people do not read a long page; they hunt inside it. Somebody who arrived searching for one specific answer wants to know within seconds whether that answer is here and where it sits. A contents list answers both questions at once, and the alternative — scrolling and skimming — is where people give up.

It is worth more on a phone, where a long page is an endless column and there is no scrollbar to judge length by. The list acts as a map of a document the reader cannot see the shape of. It also helps you as the author: a contents list you would not want to show a reader is usually a sign the page is disorganised rather than a sign the list is unnecessary.

Common mistakes with a table of contents

Putting one on a short page is the most common. If the whole article fits in a screen or two, a contents list is furniture that pushes the answer further down. The second is including every heading level, so a plugin produces a wall of nested links longer than some of the sections it points at.

Third is anchors that land wrong. A sticky header will sit over the top of the target heading, so the reader jumps to a section and sees the middle of it — a styling fix, but one that makes the whole feature feel broken. Fourth is a contents list built only for search: hidden, collapsed by default on desktop, or generated with headings that do not match the visible ones.

How to act on it

Add one when a page is genuinely long and genuinely sectioned, and write the headings first so the list has something worth listing. Include only the top level of sections, keep the labels identical to the headings on the page, and let it collapse on small screens rather than filling the first screen with links.

Then use it yourself. Read the list on its own and ask whether it describes a page that answers the question it promises. If it does not, the fix is to the page, not the list — which is the ordinary work of on-page SEO.

Do and do not

Do

  • Write clear headings before generating the list
  • List only the top level of sections
  • Offset anchors so sticky headers do not cover them

Do not

  • Add one to a short page
  • Include every heading level from a plugin
  • Use labels that differ from the visible headings

Questions people ask about this

Will a table of contents get me jump-to links in Google?

It can make the page eligible, but nothing guarantees it. Google builds those section links from the page's headings and anchors and decides for itself whether to show them, so treat it as a possible benefit rather than a deliverable. The reliable gain is for readers, who can find the section they want without scrolling.

Should the table of contents be open or collapsed?

On a wide screen, open. It costs little space and a reader can see the whole shape of the page at a glance. On a phone, collapsed is usually better, because an open list can push the actual content below the fold. Either way, make sure the content is present in the page rather than loaded after a click.

Does a table of contents belong on every page?

No. It suits long, clearly divided pages such as guides, detailed service pages and reference articles. On a short article or a landing page it adds a hurdle between the visitor and the answer. A simple test: if you would not skim this page before reading it, it does not need a contents list.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.