Markdown TOC Generator
Generate a Markdown table of contents online. GitHub-style anchors, duplicate suffixes, heading-level range. Paste and go.
Markdown TOC generator (4 headings)
GitHub-style anchors, duplicates get -1, -2 suffixes.
Output
- [Install](#install) - [npm](#npm) - [Usage](#usage) - [Usage](#usage-1)
How to use
- Paste Markdown.
- Set min/max heading levels.
- Copy the TOC with GitHub anchors.
FAQ
Anchor format?
Lowercase, punctuation stripped, spaces → dashes, duplicates get -1, -2.
Code spans in headings?
Backticks stripped for the anchor, kept in the display text.