Build a table of contents from # headings with GitHub-style anchor links.
Drag and drop here or
Supports .md and .markdown files
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.
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.
A: ATX headings only: lines starting with # through ######.
A: Slugs follow a GitHub-like rule: lowercase, spaces to hyphens, punctuation stripped.
Split-pane writing with live HTML preview. For PNG/PDF export, use Markdown Preview & Export.
Large preview of Markdown with export to PNG or multi-page PDF—runs locally in your browser.
Fast Markdown to HTML for snippets and CMS. For PNG/PDF export, use Markdown Preview & Export.
Parse or rebuild YAML front matter for blog posts and static-site Markdown.
Remove duplicate lines from text instantly in your browser—no upload. Case-sensitive or insensitive dedupe for lists, logs, and CSV-style rows.
Sort lines alphabetically (A-Z or Z-A) or numerically.
Online word counter and character counter for essays, tweets, and meta descriptions. Sentences, paragraphs, and reading time—no signup.
Extract all email addresses from any text or document.
Extract all URLs/links from text, HTML, or documents.
Add custom text before or after each line in a list.
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.