Markdown TOC Generator
Generate a clickable Markdown table of contents from any document's headings. Per-platform slug algorithm (GitHub, GitLab, pandoc, Bitbucket, generic), duplicate-heading disambiguation (-1, -2…), code-fence-aware parsing, setext heading support, depth range control, skip-first-heading, ordered or bullet list style, and insert/update at a [TOC] or <!-- toc --> marker. 100% client-side.
Generate a clickable Markdown table of contents from any document's headings. Per-platform slug algorithm (GitHub, GitLab, pandoc, Bitbucket, generic), duplicate-heading disambiguation (-1, -2…), code-fence-aware parsing, setext heading support, depth range control, skip-first-heading, ordered or bullet list style, and insert/update at a [TOC] or <!-- toc --> marker. 100% client-side. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.