Skip to main content

Markdown Table of Contents Generator

Monospace
6 lines·15 words·100 chars
Analyzes H1 through H6 headings
Generated Table of Contents
Read Only
6 lines·15 words·213 chars
GitHub anchors formatted

Extract markdown headings and produce a structured, hyperlinked Table of Contents.

Text Utilities
100% Client-Side Processing · Your data never leaves your browser
100% Secure
Instant Processing

What is Markdown Table of Contents Generator?

The Markdown Table of Contents (TOC) Generator parses headings (# H1, ## H2, ### H3, #### H4) in your markdown document and automatically builds a nested, clickable Table of Contents with valid anchor links conforming to GitHub and CommonMark specification.

How to use Markdown Table of Contents Generator

1Step 1

Paste Markdown Document

Paste your README.md, wiki article, or blog draft into the input pane.

2Step 2

Configure Heading Depths

Select the heading depth to include (e.g., H2 to H4) and choose list style (ordered numbers or bullet points).

3Step 3

Copy Generated TOC

Copy the formatted table of contents and paste it at the top of your markdown document.

Why use Tooloraa's Markdown Table of Contents Generator?

Maintaining anchor links manually as headers change during editing is prone to broken link errors.

GitHub-Compliant Slugs

Generates anchor IDs adhering strictly to GitHub markdown link rules (hyphenated, lowercase, stripped punctuation).

Hierarchical Indentation

Automatically indents subheadings with proper 2-space or 4-space markdown list formatting.

Zero Server Footprint

Parse private code repositories and internal company wikis with 100% privacy.

Common Use Cases & Applications

Open Source Project READMEs

Add instant navigation to lengthy GitHub repository documentation.

Technical Whitepapers & E-Books

Provide readers with clear chapter navigation across multi-page markdown guides.

Engineering RFCs & Wikis

Structure internal architectural proposals so teammates can jump to specific sections.

People Also Ask / Frequently Asked Questions

Frequently asked questions and technical explanations for this utility.

Was this tool helpful?

Let us know your experience to help us improve.

Reviewed by the Tooloraa Engineering Team. Last updated: November 2026.