<!-- Markdown version of https://ocxly.com/markdown-toc-generator.html · auto-generated, may lag the live page -->

# Markdown TOC Generator

Paste Markdown and get a nested, linked table of contents — each entry pointing at a GitHub-style anchor slug, with your choice of bullet style and heading levels. Runs entirely in your browser.

### How it works

Every ATX heading (`#` to `######`) is read from your Markdown — ignoring any inside fenced code blocks — and turned into a nested, indented list of links. Each link target is a GitHub-style **slug**: lower-cased, spaces to hyphens, punctuation stripped, with a numeric suffix if a heading repeats. Choose dashes, stars or numbers for the bullets, and the minimum/maximum heading levels to include. Nothing is uploaded.

---
*Source: [ocxly.com/markdown-toc-generator.html](https://ocxly.com/markdown-toc-generator.html) — OCXLY, free 100% client-side privacy-first tools. Free Markdown table-of-contents generator with GitHub-style anchor slugs, entirely in your browser.*
