Markdown TOC Generator
Generate a nested table of contents from any Markdown document's headings.
Quick answer: Generate a nested table of contents from any Markdown document's headings.
Last updated
Frequently asked questions
- Is the TOC generator free?
- Yes — free with no signup.
- Are slugs GitHub-compatible?
- Yes — we use GitHub's lower-case + dash slugging so the anchor links work in your README.
- Are my docs uploaded?
- No — generation runs in your browser.
- Will it skip the H1?
- No — every heading level is included. Delete the H1 line manually if you don't want it in the TOC.
- What if two headings have the same text?
- GitHub appends -1, -2, … to disambiguate. This tool currently emits the base slug — manually adjust if needed.