Markdown TOC Generator

Automatically generate Markdown table of contents with multi-level headings and anchor links.

Markdown Content

Configuration

Usage Guide

Features

Paste Markdown text to automatically parse headings (H1-H6) and generate a copyable TOC within the selected level range, with anchor links and ordered list format support.

Steps

Paste Markdown content or click "Sample" to load demo text; in the "Configuration" card select min/max heading levels and indent style; toggle "Ordered List" and "Include Anchor Links" as needed; click "Copy" to copy the generated TOC.

Notes

Anchor generation follows GitHub style: lowercase, remove special chars, replace spaces with hyphens; indent style options: space, Tab, or none; heading stats cards show count per level for easy structure review.