Markdown
Markdown TOC Updater
Regenerate the table of contents between TOC markers.
How it works
- 1Paste a document with <!-- toc --> markers.
- 2The TOC between them is regenerated from current headings.
- 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.
Related tools
See all →Markdown Editor
A fast, free online Markdown editor with live side-by-side preview.
Live Markdown Preview
Paste Markdown and see it rendered live, side by side, as you edit.
Split View Markdown Editor
A two-pane Markdown editor with the source and live preview side by side.
Fullscreen Markdown Editor
An immersive, full-window Markdown editor with live preview.