Markdown Link Extractor

Pull every URL out of a Markdown document — inline, reference, autolink, image, and bare links — with one-click export to CSV, JSON, or plain text.

Total
9
Unique
8
Inline
2
Reference
2
Image
1
Autolink/Bare
4
#LineTypeTextURLTitle
13inlineour websitehttps://example.comExample
25imagelogohttps://cdn.example.com/logo.png
37autolinkhttps://github.comhttps://github.com
47autolinkmailto:hello@example.commailto:hello@example.com
59barehttps://news.ycombinator.comhttps://news.ycombinator.com
611referencereference linkhttps://github.com/torvalds/linuxLinux source
711referencereference/docs/getting-started
813barehttps://github.com/torvalds/linuxhttps://github.com/torvalds/linux
916inlinethe FAQ#faq

About Markdown Link Extractor

Markdown Link Extractor pulls every URL out of a Markdown document and presents them in a sortable, filterable table. It recognises all five common forms of Markdown link — inline [text](url), reference [text][label], autolinks <https://…>, images ![alt](url), and bare URLs in plain text.

Code fences, inline code spans, and HTML comments are masked before extraction so URLs inside code examples are never confused with real document links. Each link is annotated with its type, line number, link text, and any title attribute, and you can export the full table as CSV, JSON, or a plain newline-separated URL list.

It is the perfect companion for auditing READMEs, finding broken docs, building site maps from Markdown sources, or feeding URL lists into link checkers and crawlers. Everything runs locally in your browser.

How to Use Markdown Link Extractor

  1. Paste your Markdown into the input box. README files, docs, blog posts, changelogs — anything with Markdown-formatted links works.
  2. Review the stats at a glance: total links, unique URLs, and a per-type count for inline, reference, image, and autolink/bare links.
  3. Filter by type using the chip toggles, or type a substring into the filter box to narrow down by URL, link text, or title.
  4. Toggle "Dedupe URLs" if you only want each unique URL once, regardless of how many times it appears in the document.
  5. Switch tabs between Table, CSV, JSON, and URLs. Click Copy to get the result on your clipboard, or Download to save it as a file.
  6. Click any URL in the table to open it in a new tab, or use the row-level copy button to grab a single URL.

Common Use Cases

Doc audits

Audit a README or wiki for outdated, internal, or HTTP (non-HTTPS) links.

Link checking

Export the URL list and feed it into a link checker like lychee or htmlproofer.

Image inventory

Filter to image links to inventory CDN-hosted assets in your docs.

Migration prep

Build a redirect map by exporting CSV before moving docs to a new domain.

SEO research

Spot every outbound link to plan internal linking or anchor-text changes.

Citation extraction

Pull all references out of a Markdown article for a sources list or bibliography.

FAQ