Markdown Table of Contents (ToC) Generator

Paste your markdown document and instantly generate a linked table of contents. Supports nesting levels and GitHub-compatible anchor styles.

What Is the Markdown ToC Generator?

The Markdown Table of Contents Generator by TooliFyra is a free online tool that parses your markdown document and generates a linked table of contents from all headings. It supports H1 through H6 headings with configurable nesting depth and anchor styles compatible with GitHub, GitLab, and other markdown renderers.

The generated ToC uses markdown link syntax, so you can paste it directly into your README, documentation, or any markdown file. Each heading becomes a clickable anchor link that navigates to the corresponding section.

How to Use the Markdown ToC Generator

  1. Paste your markdown document into the input textarea.
  2. Choose the maximum nesting level (how deep headings should appear in the ToC).
  3. Select the anchor style: GitHub, lowercase, or kebab-case.
  4. Click Generate ToC to create the table of contents.
  5. Copy the output and paste it at the top of your markdown file.

Key Features

Auto-Generated ToCParses all markdown headings and creates a nested, linked table of contents.
Nesting ControlLimit the ToC depth from level 2 to all 6 heading levels.
Anchor StylesChoose GitHub, lowercase, or kebab-case anchor formats for compatibility.
Copy OptionsCopy as rendered ToC or raw markdown link syntax.
GitHub CompatibleOutput works directly in GitHub READMEs and documentation.
🆓 100% FreeGenerate unlimited ToCs with no restrictions or sign-up.

Benefits of Using TooliFyra ToC Generator

Manually creating a table of contents for long markdown documents is tedious and error-prone. The free markdown ToC generator automates the entire process, ensuring every heading is properly linked and formatted. It saves time on documentation projects and ensures your ToC stays consistent with the actual heading structure.

Use Cases and Applications

Developers: Generate ToC for README files, API documentation, and technical guides.

Technical Writers: Create navigation for long-form documentation and wikis.

Open Source Projects: Add professional table of contents to project documentation.

Students & Researchers: Organize thesis, reports, and research papers with linked navigation.

Why TooliFyra?

TooliFyra provides a fast, accurate, and free markdown ToC generator with full control over nesting depth and anchor formatting. The tool runs entirely in your browser — no file uploads, no server processing. Generate a professional table of contents in seconds.

Frequently Asked Questions

A markdown table of contents is a nested list of links that point to headings within the document, allowing readers to quickly navigate to specific sections.

Yes, completely free with no usage limits or sign-up required.

GitHub style is best for GitHub/GitLab READMEs. Lowercase works for most markdown renderers. Use kebab-case for Hugo, Jekyll, and other static site generators.

Yes. The generator appends numbers to duplicate headings (e.g., #intro, #intro-1, #intro-2) following GitHub's anchor convention.

Currently the tool includes all headings up to the selected nesting level. You can manually remove unwanted entries after generation.