← Back to Tools

Table of Contents Generator

Turn your headings into a linked table of contents with anchor IDs — HTML ready.

Loading tool…

About this tool

A linked table of contents improves UX, earns jump-link sitelinks in Google, and boosts time-on-page. Paste your article HTML (or a plain heading list) and get a nested, clickable TOC plus the heading tags with matching anchor IDs.

How to use the Table of Contents Generator

  1. Paste article HTML or one heading per line.
  2. Copy the generated TOC block.
  3. Copy the updated headings with id attributes and replace yours.

Frequently asked questions

Do jump links appear in Google results?

Yes — Google shows "Jump to" sitelinks for well-anchored long articles, increasing SERP real estate.

Where should the TOC go?

Right after the intro, before the first H2.