Markdown contents generator
Build a linked table of contents from Markdown headings.
Bookmark this page
Keep this page handy for next time.
- On a computer
- Press Ctrl + D, or Command + D on a Mac.
- On a phone or tablet
- Open your browser's menu or Share menu and look for Add Bookmark, Bookmark or Add to favourites.
A bookmark saves the page link. Save any tool results separately.
How to use this tool
- Paste a Markdown document.
- Choose the heading levels to include.
- Copy the generated list into the document. Duplicate heading anchors receive numeric suffixes.
Things to know
- Anchors follow GitHub-style heading slugs. Other Markdown renderers may use different anchor rules.
- Each text input accepts up to 5 MiB. Output is limited to 25 MiB and combined text settings to 1 MiB.
- Markdown parsing accepts 100,000 lines and syntax markers, 128 quote levels and 512 leading spaces per line.
You might also need
More in markdown & writingMarkdown link converter
Convert ordinary inline links to reference links, or expand references inline.
Markdown table builder
Create a Markdown table from CSV or tab-separated data.
Markdown document combiner
Combine Markdown documents with separators and optional heading-level adjustment.
Markdown formatter and linter
Format Markdown consistently and identify skipped heading levels or missing image descriptions.
Markdown and HTML converter
Convert Markdown to safe HTML or turn HTML into Markdown.
Character backstory generator
Build a fictional character seed with a past, a goal, a complication and a secret.
Lorem ipsum generator
Generate placeholder paragraphs or an exact number of placeholder words.
Readability analyser
Estimate English reading difficulty with Flesch scores and sentence statistics.
Text wrapper and unwrapper
Wrap paragraphs to a character width or join soft line breaks.