Skip to content
hateitall

Markdown Link Extractor

See every URL a Markdown document points to, ready to check, copy or audit.

Processed locallyIn: Markdown, MDOut: List, CSV

Loading tool…

How to use markdown link extractor

  1. Paste Markdown or open a .md file.

  2. Filter by links, images or reference definitions, and keep one row per URL if you like.

  3. Check the warnings for reference links with no definition and definitions nothing uses.

  4. Copy the URLs or download everything as CSV.

What this tool does

  • Finds inline links, reference links, <autolinks>, images and links written as raw HTML <a> and <img> tags.
  • Shows each URL exactly as a renderer resolves it, with escapes and entities decoded.
  • Lists reference definitions with how many times each is used, so dead ones stand out.
  • Skips anything inside code spans and code blocks, because those are not links.

How the result is verified

The Markdown is also rendered to HTML, and the number of <a> and <img> elements is compared with the number of links and images found. The result is shown under the list.

Frequently asked questions

Does it find links in code examples?

No, on purpose. Text inside backticks or code blocks is code, not a link, and a Markdown renderer would not make it clickable either.

What is an unused reference definition?

A line such as [docs]: https://example.com that no [text][docs] link refers to. It does nothing on the page, so it is usually left over from an edit.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Table of contents with GitHub-style heading anchors

Markdown · MD→ MarkdownLight on device

CommonMark and GitHub tables to clean, sanitized HTML

Markdown · MD · Text→ HTMLLight on device

Break a URL into scheme, host, port, path, query and fragment

URL→ ReportLight on device

Consistent headings, bullets, emphasis and spacing, output unchanged

Markdown · MD→ MarkdownLight on device