Markdown 目录生成
根据标题自动生成 TOC
🔒 100% client-side — your data never leaves this pageMarkdown Input
Generated TOC
TOC will appear here
🔒 100% client-side
About this tool
根据 Markdown 的 H1-H6 标题自动生成目录(TOC)和锚点链接。适用于 README、技术文档、知识库和长文页面,帮助读者快速定位内容,提高可读性与导航体验。
Frequently Asked Questions
Which heading levels are included?
The generator supports standard markdown headings from H1 to H6.
Does it create nested indentation?
Yes. Indentation is based on heading depth to keep hierarchy readable.
Can I use it for README files?
Yes. The output is markdown and can be pasted directly into README or docs.