Markdown Link Extractor

Paste a Markdown file and get every link in it: inline links, images, reference-style links resolved through their definitions, <autolinks> and bare URLs, each with its line number. Skip repeats, leave images out, and export as a plain URL list, a Markdown list or a CSV for a spreadsheet. Links inside code blocks and inline code are ignored.

Tool
Output
Markdown
Links
Links found
0
Listed
0
Images
0
References with no URL
0

Everything runs in your browser. What you type never leaves this device.

Features

  • Inline links and images: [text](url) and ![alt](src)

  • Reference links [text][id] resolved to their URL; missing definitions flagged

  • Autolinks <https://...> and bare URLs

  • Line number and link text for each

  • Output as URLs, a Markdown list or CSV

  • Ignores links inside code

  • Runs in your browser: your text is never uploaded. Free, no signup

Why list links

Link checks before publishing

Get every URL in one list to test for broken links or wrong domains.

Moving docs or a blog

List image paths and internal links that must change when files move.

Reviews and audits

See every outbound link in a README or article, with where it appears.

Link types found

What each type means

  • Link: text, with an optional "title".
  • Image: !alt text, listed with its alt text.
  • Reference link: [text][id] or [text][], resolved through a definition line [id]: url. A reference with no matching definition shows an empty URL and is counted under References with no URL.
  • Reference definition: the [id]: url line itself.
  • Autolink: <https://...> or <[email protected]>.
  • Bare URL: an http or https address written as plain text.

What is skipped

Fenced code blocks, inline `code` and YAML front matter are not scanned, so example snippets do not pollute the list. HTML <a> tags inside Markdown are not listed; run the file through Strip HTML Tags with Keep link addresses ticked to turn them into plain URLs first.

Other Markdown tools

Markdown Link Extractor - FAQ