Markdown contents generator

Build a linked table of contents from Markdown headings.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

Options

Options

How to use this tool

  1. Paste a Markdown document.
  2. Choose the heading levels to include.
  3. 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 & writing