Skip to content
Markdown

Markdown TOC Updater

Regenerate the table of contents between TOC markers.

How it works

  1. 1Paste a document with <!-- toc --> markers.
  2. 2The TOC between them is regenerated from current headings.
  3. 3Copy the updated document.

Use cases

  • Keep a README TOC in sync.
  • Refresh navigation after edits.
  • Insert a TOC if none exists.

Frequently asked questions

How does it know where the TOC goes?

It replaces content between <!-- toc --> and <!-- /toc -->; if those are missing it inserts a TOC after the first H1.

Will it touch my content?

No. Only the TOC block changes; the rest of the document is preserved.

Is it private?

Yes. Everything runs in your browser — nothing is uploaded.

See all →