Markdown TOC Generator
Extract Markdown headings and generate TOC with level filtering and styling options.
Markdown InputHeadings: 0
TOC OutputLines: 0
About This Tool
A specialized Table of Contents (TOC) generator for Markdown documents. It automatically parses your Markdown text, extracts headings, and generates a hierarchical TOC with anchor links. You can customize the heading levels (H1-H6), toggle between ordered and unordered lists, and decide whether to include links. Uses standard GitHub-style slug algorithms for compatibility with GitHub, GitLab, and other major Markdown renderers. 100% local processing ensures your content remains private.
Features
- 🔍 Auto Parsing: Recognizes both ATX (#) and Setext (=/-) style Markdown headings
- 📐 Level Filtering: Customizable range for extracted heading levels (H1 - H6)
- 🔗 Smart Anchors: Generates GitHub-compatible slug links for in-page navigation
- 🔢 Styling Options: Toggle between unordered (-, *, +) and ordered (1.) list styles
- ⚡ Real-time Updates: Live preview of generated TOC as you type or paste Markdown
- 💾 Quick Export: Download the generated TOC as a .md file with one click
- 🛡️ Privacy First: 100% local processing, your content never leaves your browser