All tools / Text tools
Markdown table of contents
Generate a linked table of contents from the headings of a Markdown document.
Open the toolHow to use
- Paste your Markdown document.
- Press Generate TOC.
- Paste the result at the top of the document.
Why My All Tools?
- Runs in your browser: your files and text are not uploaded.
- No account needed to start (guests get a daily limit per tool).
- Works on phone and desktop, in Arabic and English.
Common questions
Are links GitHub-compatible?
Yes, anchors use the same slug rules as GitHub, and Arabic headings work too.
How is nesting decided?
By heading level relative to the top level found in the document.
More free tools
Character counterCount characters, characters without spaces, words and bytes live as you type.Remove duplicate linesDelete repeated lines from any list or text and keep the first occurrence, all in your browser.Extract email addressesCollect every email address from any text into a clean list, in your browser.Extract numbersPull every number out of any text and see their count and sum, in your browser.Extract URLsPull every link out of any text into a clean list, in your browser.Find and replaceSearch and replace text, with case-sensitive and regex options, in your browser.HTML to MarkdownConvert HTML markup into clean Markdown: headings, lists, links, code and more.Line counterCount total, non-empty and empty lines, and find the longest line in any text.
Free to try with a daily guest limit. No account needed, and your data stays in your browser.