01
Paste the Markdown document
Start with the draft that already has a heading structure.
Optimize & Edit MD
Paste the Markdown, choose the heading depth, and insert a linked table of contents that matches the current document structure.
What you get
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.
Why this page exists
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.
How it works
01
Start with the draft that already has a heading structure.
02
Decide how many heading levels should be included in the generated table of contents.
03
Copy or download the Markdown with the TOC block added at the top of the document.
Best for
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.
FAQ
The page adds a marker-based TOC block near the top of the document, so running the generator again can replace the previous TOC cleanly instead of duplicating it.
It reads Markdown headings from H1 through H6 and lets you choose how deep the generated TOC should go.
Yes. The generator builds Markdown links using a slug pattern that is intended to match common GitHub-style heading anchors for normal Markdown documents.
Continue with
People rarely stop at one conversion. These adjacent pages pick up the next task in the same workflow.
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.