Skip to content
Local

Text

Markdown TOC & Link Extractor

Make a table of contents with GitHub-style anchors, list every link and image, and tidy Markdown style.

Runs in your browser. Nothing leaves this device.

How to use Markdown TOC & Link Extractor

  1. 1Paste your Markdown, such as a README.
  2. 2Pick Contents, Links or Tidy.
  3. 3Copy the result.

Questions

Do the contents links work on GitHub?

Yes. Anchors follow GitHub’s rules: lower case, punctuation removed, spaces turned into hyphens, and repeated headings numbered -1, -2 and so on.

Which links are listed?

Inline links, images, reference definitions such as [1]: https://example.com, and links in angle brackets. Anything inside code is skipped.

What does Tidy change?

It turns underlined headings into # headings, puts one space after the #, uses - for bullets, adds blank lines around headings, removes runs of blank lines and trailing spaces. Code blocks are left exactly as they are.

Is my text uploaded?

No. Everything runs in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc