SEO

Table of Contents

Also called TOC, jump link, jump links, anchor links

A list of links near the top of a long page that jump the reader straight to each section, using anchors on the page's headings.

Quick facts: Table of Contents

Category
SEO
Also called
TOC, jump link, jump links, anchor links
Level
Beginner
Affects
Usability of long pages, chances of "jump to" links in results, engagement, accessibility
Where to see it
Your CMS or a table of contents block, browser developer tools, Google Search Console Performance report
In this article4
  1. How a table of contents works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A table of contents is a list of links, usually near the top of a long page, that takes the reader straight to each section of that page. Each link points to an anchor on a heading, so clicking it scrolls to that part rather than loading a new page. The links are often called jump links or anchor links.

How a table of contents works

Each section heading carries an ID, such as id="costs" on an H2 that reads “How much does a loft conversion cost?”. The table of contents links to that ID by adding a hash to the URL: href="#costs". When someone clicks, the browser moves down to the heading. The same link can be shared, so www.example.co.uk/loft-guide/#costs opens the page at that section.

Search engines read these links too. Google sometimes shows “jump to” links beneath a result, or sends a searcher directly to the relevant section of a long page. Well-structured heading tags and a clear table of contents make it easier for Google to see which part of the page answers which question, alongside its ability to rank individual passages within a page.

Why it matters

Most people do not read long pages from top to bottom. Someone researching a kitchen refit wants the section on costs or timescales, not the history of fitted kitchens. A table of contents shows them at a glance that the page covers their question and gets them there in one tap, which matters most on mobile, where scrolling through 2,500 words is tedious.

It also disciplines the writing. If the list of sections reads like a muddle, the page probably is one. Building a table of contents is a quick check on whether a long-form guide has a logical structure with one clear purpose per section.

For pages built to answer many related questions, such as a guide to letting a property in England or a buyer’s guide to heat pumps, a table of contents also shows whether a section deserves its own page. If one entry grows far longer than the rest and attracts its own searches, splitting it out often serves readers better.

Common mistakes

  • Using one on short pages. A 500-word service page does not need a list of links that pushes the useful content below the fold.
  • Vague headings. Entries such as “Overview”, “More info” and “Final thoughts” tell the reader nothing.
  • Collapsed by default. Some plugins hide the links behind a toggle that relies on JavaScript; visitors miss it and Google may not see the links.
  • Random or changing IDs. IDs such as “#h-a7f3k” or ones that change when you edit a heading break shared links.
  • Sticky boxes that cover text. A floating contents panel can hide content on smaller screens.

How to act on it

Add a table of contents to guides, resource pages and long blog posts with four or more substantial sections. Put it after an introductory paragraph that answers the main question. Use your real H2 headings, written so each tells the reader what that section answers, and give each a short, readable ID that will not change.

Mark the list up as ordinary HTML links inside a nav element with a clear label, so screen reader users can find it, in line with WCAG guidance. Test every link on mobile. Reviewing structure like this, from headings to internal links, is part of the on-page SEO work I do on existing pages.

Do and do not

Do

  • Use one on long guides with several clear sections
  • Base it on real H2 headings that describe each section
  • Keep anchor IDs short and stable

Do not

  • Add one to short pages where it only pushes content down
  • Hide the links behind a JavaScript toggle Google may not render
  • Change heading IDs after publishing without checking links

Questions people ask about this

Does a table of contents help SEO?

Indirectly. It makes long pages easier to use, gives Google clear named sections, and can lead to "jump to" links under your result that take searchers straight to the relevant part. It will not make a weak page rank, but on a good long guide it removes friction for both readers and search engines.

Where should a table of contents go on the page?

Usually after a short introduction that answers the main question, so the first thing a visitor sees is useful content rather than a list of links. On very long pages, a sticky table of contents in a sidebar on desktop can help, as long as it does not cover content on mobile.

Should I use a plugin to create a table of contents?

A plugin or the block editor's own block is fine if it outputs ordinary HTML links and reads your existing headings. Check that it does not load heavy scripts on every page, does not hide the links until clicked, and creates readable IDs rather than random strings.

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.