My All ToolsEnglish

All tools / Text tools

Markdown table of contents

Generate a linked table of contents from the headings of a Markdown document.

Open the tool

How to use

  1. Paste your Markdown document.
  2. Press Generate TOC.
  3. Paste the result at the top of the document.

Why My All Tools?

Common questions

Are links GitHub-compatible?

Yes, anchors use the same slug rules as GitHub, and Arabic headings work too.

How is nesting decided?

By heading level relative to the top level found in the document.

More free tools

Free to try with a daily guest limit. No account needed, and your data stays in your browser.