Table of Contents Creator

Generate a table of contents from Markdown or HTML headings.

Features

  • Extracts headings (H1-H6) from Markdown or HTML content.
  • Generates a nested list Table of Contents.
  • Supports Markdown and HTML output formats.
  • Automatically creates anchor links (slugs).

How to Use

  1. Paste your Markdown or HTML content into the input area.
  2. Select the desired output format (Markdown or HTML).
  3. The generated TOC appears instantly in the output box.