Skip to main content

Markdown Table of Contents Generator

Use Markdown Table of Contents Generator, review the result, and keep the original until the output is checked.

Input
Output
Your result will appear here.

Keep your original file until you have checked the downloaded result. Browser memory and format support vary by device.

Headings inside fenced code blocks are ignored. The generated anchors follow GitHub-style slug rules.

Batch tools: up to 50 files, 1 GB each Runs entirely in your browser - your file is never uploaded Saves a new file - your original stays untouched
How your file is handled: This tool runs in your browser tab. Your file is not uploaded, not stored on a server, and it is gone when you close or reload the page.
Embed tool Add this tool to your website Get embed code

Add this editing tool to a related page with a visible EditTools source link.

Markdown Table of Contents Generator FAQ

What does Markdown Table of Contents Generator do?

Generate a GitHub-style Markdown table of contents from headings in your document.

Which files work with Markdown Table of Contents Generator?

This category commonly supports Markdown, HTML, and PDF. Use the accepted file types shown in the uploader, because support varies by browser and by the engine behind each tool.

Is the generated output guaranteed to work?

It follows the relevant format rules, but practical failures such as a small scan target, an unreadable size, or a name your system already uses are yours to check before it goes into production.

Will my original file be changed?

No. You paste text or open a file to read it, the result appears in the other pane, and only what you copy or download leaves the page.

How is my file processed?

It is not uploaded. The processing is done locally by the renderer bundled with this page, so the practical ceiling is your device's memory and the limit shown beside the uploader - no queue, no account, no copy on a server.

Are headings inside code blocks included?

No. Fenced code blocks are ignored so example headings in code are not mistaken for document sections.