Extract Markdown link

List Markdown hyperlinks and autolinks with their text, URL, and line.

freeworks offlinenothing uploaded
ToolMarkdown Link Extractor
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Inline, reference, and autolink forms are scanned; each occurrence records URL, visible text, title, and line where available. Duplicate URLs remain visible while unique URLs and hosts are counted.

  • Markdown and autolink forms cover common README links.
  • URLs are returned as written.

Worked example

Extract links from Markdown
Find all hyperlinks in a Markdown document
Input
											Check [our docs](https://docs.example.com) and [GitHub](https://github.com/org/repo).
										
Output
												Text      URL                          Title
--------  ---------------------------  -----
our docs  https://docs.example.com
GitHub    https://github.com/org/repo
											

When to use this

Documentation audits, domain migrations, and later link crawlers use extracted URLs.

Edge cases

  • Parentheses in a destination need balanced Markdown syntax.
  • Reference definitions can be far from their use and must be resolved globally.
  • Relative links have no hostname and remain local references.

References