Paste the Markdown document
Start with the draft that already has a heading structure.
Paste the Markdown, choose the heading depth, and insert a linked table of contents that matches the current document structure.
Optimizer
Output shape
The tool inserts a marker-based TOC block at the top so repeated runs can replace the existing TOC instead of stacking duplicates.
Markdown documents often start small and grow into something much larger: guides, RFCs, release notes, onboarding docs, or knowledge-base pages. At that point, a heading-based TOC becomes more than a nice extra.
This page turns the document structure you already wrote into a linked table of contents, which is much faster than maintaining the anchor links by hand.
Start with the draft that already has a heading structure.
Decide how many heading levels should be included in the generated table of contents.
Copy or download the Markdown with the TOC block added at the top of the document.
Add fast navigation to setup guides, specs, and internal docs.
Help readers jump between versions, sections, or grouped updates more easily.
Insert heading links into notes that have grown too long to scan linearly.
Normalize the document structure first so the heading hierarchy is cleaner before generating the TOC.
Use the table builder when the hard part is tabular syntax rather than heading structure.
Continue refining the document once the TOC has been inserted.
Export the organized document after the TOC is in place.