Table of Contents Generator
6 toolsGenerate a linked TOC from Markdown headings.
Runs in your browser — your files and text stay on your device
A complete Markdown toolkit — live preview with HTML/PDF export, a visual table generator with paste-to-import, HTML-to-Markdown conversion, a table of contents generator, a README badge generator, and a syntax cheatsheet.
Live Preview & ExportTable GeneratorHTML → MarkdownTable of Contents GeneratorREADME Badge GeneratorMarkdown Cheatsheet
Table of Contents
How to use this tool
- 1Paste a Markdown document with # headings.
- 2A nested table of contents with anchor links generates automatically.
- 3Paste it at the top of your document.
Frequently asked questions
How are anchor links generated?
Headings are lowercased, punctuation removed, and spaces replaced with hyphens — matching GitHub's heading-anchor convention.
Does it handle nested heading levels?
Yes — the TOC indents based on heading level (# through ######).