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.
| # | Line | Type | Text | URL | Title | |
|---|---|---|---|---|---|---|
| 1 | 3 | inline | our website | https://example.com | Example | |
| 2 | 5 | image | logo | https://cdn.example.com/logo.png | — | |
| 3 | 7 | autolink | https://github.com | https://github.com | — | |
| 4 | 7 | autolink | mailto:hello@example.com | mailto:hello@example.com | — | |
| 5 | 9 | bare | https://news.ycombinator.com | https://news.ycombinator.com | — | |
| 6 | 11 | reference | reference link | https://github.com/torvalds/linux | Linux source | |
| 7 | 11 | reference | reference | /docs/getting-started | — | |
| 8 | 13 | bare | https://github.com/torvalds/linux | https://github.com/torvalds/linux | — | |
| 9 | 16 | inline | the 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 ,
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
- Paste your Markdown into the input box. README files, docs, blog posts, changelogs — anything with Markdown-formatted links works.
- Review the stats at a glance: total links, unique URLs, and a per-type count for inline, reference, image, and autolink/bare links.
- Filter by type using the chip toggles, or type a substring into the filter box to narrow down by URL, link text, or title.
- Toggle "Dedupe URLs" if you only want each unique URL once, regardless of how many times it appears in the document.
- 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.
- 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.