Table of Contents Generator
Generate a table of contents from HTML or Markdown headings instantly. Output as Markdown links, HTML list, or numbered outline — perfect for blog posts, documentation, and articles.
Paste content with headings to generate a table of contents
About This Tool
- Auto-detects headings from both HTML and Markdown formats
- Generates TOC as Markdown links, HTML list, or numbered outline
- Creates anchor IDs (slugified) for each heading automatically
- Completely free with no registration required
Frequently Asked Questions
It scans your HTML or Markdown text for headings (h1-h6 or # syntax), then generates a structured table of contents with anchor links. You can output it as Markdown, HTML, or a numbered outline.
Anchor IDs are created by slugifying the heading text — converting it to lowercase, removing special characters, and replacing spaces with hyphens. This creates clean, URL-friendly IDs for navigation.
Three formats are available: Markdown links (for README files and docs), HTML unordered list with anchor links (for websites), and numbered outline (1. 1.1 1.2 style for documents).
Yes, completely free with no registration. Generate table of contents from any amount of content with no limits — all processing happens in your browser.