Markdown Link Extractor
About this tool
About Markdown Link Extractor
Before you publish documentation or merge a README, it helps to see every link in one place. Paste Markdown and this extractor lists all inline links, images, reference-style links, reference definitions and autolinks with their text, URL, title and line number. Each entry is classified as a web link, an email, a phone link, an in-page #anchor or a relative path to another file, and filters show only web links, images, anchors, relative paths or problems. Problems are flagged without visiting any site: #anchor links that don't match a heading in the document (using GitHub's anchor rules), links that still use http instead of https, javascript: and other unsafe schemes, empty URLs, images without alt text, reference definitions that are never used and references defined twice. Copy the unique URLs, for example to run them through a link checker, or download the full report as CSV for a docs review. Headings and links are read by the same parser as the Markdown editor, so code blocks are skipped. Nothing is fetched or uploaded.
Built and maintained by Abhi JainUpdated
How to Extract Links From Markdown
- 1
Paste Markdown
Paste your document into the Markdown box or open a .md file. Click Sample to see each kind of problem.
- 2
Filter
Click All, Web, Images, Anchors, Relative or Problems to narrow the list.
- 3
Export
Click Copy URLs for a plain list, or CSV to download the full report with line numbers and problems.
Markdown Link Extractor: questions and answers
Does it check whether web links are dead?
No. Checking external links would mean sending requests from your browser to every site, which is slow and leaks what you're reading. It checks everything that can be checked locally: anchors, schemes, alt text and references.
How are anchor links checked?
Every heading's anchor is generated with GitHub's rules, and each #link is compared with them. A link to #instalation when the heading is Installation is flagged.
Why does it warn about http links?
Plain http links can be blocked or show warnings in browsers. Most sites support https, so changing the link is usually a one-letter fix. Links to localhost are not flagged.
Why do images need alt text?
Screen readers read the alt text aloud, and it shows if the image fails to load. GitHub and most linters treat  as an accessibility problem.
Related Tools
- Markdown TOC GeneratorGenerate a table of contents for a README or Markdown document with GitHub-compatible anchor links.
- Markdown EditorWrite Markdown with a live, safe preview: GitHub tables, task lists and code blocks. Export Markdown or HTML.
- Text ExtractorExtract emails, URLs, phone numbers, numbers, hashtags, mentions and IP addresses from any text, de-duplicated.
- Extract LinksList every web link, page link and typed URL in a PDF.