Table of Contents Generator

Paste your HTML or Markdown content below and get a fully linked table of contents with anchor IDs added to every heading.

Runs entirely in your browser. Nothing is uploaded.

How it works

STEP 1

Paste your content

Paste any HTML or Markdown text that contains headings (h1–h6 or # syntax).

STEP 2

Choose options

Select the heading levels to include and the output format (HTML list or Markdown links).

STEP 3

Copy or download

Copy the generated table of contents or download it as a file ready to paste into your doc.