QuickTools
text

Markdown TOC Generator

Build a table of contents from # headings with GitHub-style anchor links.

markdown toctable of contentsmarkdown anchorgenerate toc

Drag and drop here or

Supports .md and .markdown files

Options

Privacy: This tool runs entirely in your browser. No data is sent to our servers. We don't store, share, or have access to any of the information you process here.

Practical guide for Markdown TOC Generator

Markdown TOC Generator is a focused text utility for this task: Build a table of contents from # headings in your Markdown file with anchor links (GitHub-style slugs).

Because the processing runs in the browser, it is useful for drafts, lists, logs, and other everyday text that should not be sent to a remote API just for a small transformation.

Common use cases

  • Use Markdown TOC Generator when you need a quick result without installing a separate app.
  • Clean a list before importing it into a spreadsheet, CMS, CRM, or note-taking app.
  • Prepare snippets from logs, emails, issue trackers, or exported reports.

How to use it well

  1. Open Markdown TOC Generator and provide the input requested by the tool.
  2. Choose the options that match the cleanup you need.
  3. Run the tool and review the output before copying or downloading it.
  4. For repeat tasks, keep a small sample input so you can verify the result quickly.

Practical tips

  • Start with a short sample when the source text is very large.
  • Keep an untouched copy of the original text until you have checked the output.
  • Combine this tool with related text tools when you need sorting, deduplication, extraction, or case cleanup.

Limitations to know

  • The result depends on the exact input formatting, especially line breaks and whitespace.
  • Very large pasted documents may be limited by browser memory on older devices.

Examples

FAQ

Q: Which headings are detected?

A: ATX headings only: lines starting with # through ######.

Q: How are anchors generated?

A: Slugs follow a GitHub-like rule: lowercase, spaces to hyphens, punctuation stripped.

Related Tools

More in Text Tools

Privacy: This tool runs entirely in your browser. No data is sent to our servers. We don't store, share, or have access to any of the information you process here.