Table of Contents Generator
Free. No signup. Most tools never leave your browser.
Supports H1-H6 with proper nesting.
Get new tools by email
We add tools most weeks. Give an email address and we send you the new ones, plus short notes on how to use them. No more than one email a week. Unsubscribe with one click.
Frequently Asked Questions
- How does the Table of Contents generator work?
- Paste a Markdown document and it will parse all headings (H1-H6) to create a linked table of contents with proper indentation.
- Do the anchor links work on GitHub?
- Yes, the generated anchor links follow GitHub's heading ID format.
Guides for this tool
Use a focused example when you need platform-specific syntax or a repeatable document workflow.
Markdown Heading Links and Anchors
Learn how Markdown headings become anchors, how to link to sections, and why generated IDs differ between publishing tools.
GitHub Markdown Table of Contents
Learn how GitHub creates heading links and how to build a reliable Markdown table of contents for repository documentation.
Add a Table of Contents to a README
Create a clear README table of contents with Markdown links that match your document headings and stay useful as the file changes.
Related Tools
Markdown to GitHub Converter
Convert Markdown from MkDocs, Docusaurus, or Pandoc to Markdown that GitHub renders. Admonitions become GitHub alerts, [TOC] becomes section links, and inline notes become footnotes.
CLAUDE.md Generator
Describe your project in 1-2 sentences and get a structured CLAUDE.md. AI-powered. Free, no login.
Markdown Table Generator (AI-Powered)
Describe comparison, pricing, pros-and-cons, specs, or network lab tables in plain English and get editable Markdown. Free AI markdown table generator.
README Generator
Generate a professional GitHub README.md. Free online README generator with templates and badges.
About Table of Contents Generator
Generate a Markdown table of contents from your document. Free online TOC generator with anchor links. This tool runs entirely in your browser, so your content is not sent to a server. MarkdownMe provides free, fast, and reliable Markdown tools for developers, writers, and anyone who works with Markdown.