Auto-generate a Table of Contents from your Markdown headers (#/##). Free tool with support for internal anchor links.
This free tool automatically extracts headers (like #, ##) from your Markdown text and instantly generates a Table of Contents (TOC).
When writing long documents such as README.md or technical blogs, you can greatly reduce the hassle of manually creating a TOC and setting up anchor links.
Auto-generate a Markdown TOC in just 3 simple steps. You can also customize output settings intuitively.
Paste your Markdown text into the left input area. Then, select the header levels (H1 to H4) you want to extract using the options at the top.
Toggle the "List Format" and "Internal Links" checkboxes to match your needs. Enabling internal links will generate an anchor-linked TOC that jumps to each section.
Once the table of contents appears in the right output area, simply copy it and paste it into your Markdown document.
Just paste your text, and the tool accurately picks up only the headers from complex Markdown structures.
Freely select which header depths to include in the TOC, ranging from H1 down to H4.
Automatically generates a TOC with internal links that function perfectly on platforms like GitHub.
Automatically organizes and outputs proper indents and list markers (-) based on the header hierarchy.
No data is sent to our servers. Safely process unpublished internal documents completely within your browser.
For those whose README.md files are getting long and want to add a TOC for better readability.
For writers publishing long-form articles on Markdown-supported platforms like Dev.to or Hashnode.
For those tired of manually adjusting in-page link IDs for company Wikis or specifications.
Perfect for quickly grasping the overview of complex document structures.