Markdown Link Extractor

Paste Markdown and get a list of every link and image in it, with the link text, the address and what kind of link it is.

How it works

The tool finds the three ways Markdown writes a link: inline links such as [text](address), autolinks in angle brackets such as <https://example.com>, and reference definitions such as [docs]: https://example.com/docs.

Images, written ![alt text](address), are found too and marked as images. Anything inside code, either `backticks` or a fenced block, is skipped, because a link shown as code is an example, not a link.

Each address is sorted into a kind: a link to another page, a link to a section of the same page (starting with #), an email link, or an image. The search runs in a background worker, and nothing is uploaded.

How to use it

  1. 1 Paste your Markdown.
  2. 2 Choose links and images, links only, or images only.
  3. 3 Switch on Each address once to drop repeated addresses.
  4. 4 Copy the addresses, one per line, or download the full list as a CSV file.

Good to know

  • Section links (#install) only work if a heading with that anchor exists. Compare them with the headings in your document.
  • Relative addresses such as docs/setup.md point at files next to the document, so check them in the repository, not in a browser.
  • The CSV has text, url and kind columns and opens in Excel, Numbers or Google Sheets.
  • Bare addresses typed without brackets are not Markdown links. To find those too, use a URL extractor on the same text.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

Auditing the links in a documentation folder

Documentation collects links over time: to other pages in the same docs, to sections further down, to images, to outside sites that may have moved. Before a release, or after moving files around, it helps to see every link in one list rather than reading every page.

Take a short page as an example. It says "Read the [install guide](install.md) first.", then shows a screenshot with "![Settings screen](img/settings.png)", then says "Questions? See the [FAQ](#faq) or email <mailto:help@example.com>." At the bottom is a reference definition "[changelog]: https://example.com/changes". Pasted here, the list shows five entries in document order: install.md as a link, img/settings.png as an image, #faq as a section link, mailto:help@example.com as an email link, and the changelog address as a link with the text "changelog". The summary line reads "5 found: 4 links, 1 image."

Now the useful questions. The section link #faq only works if the page has a heading that makes that anchor, such as "## FAQ". The relative links install.md and img/settings.png only work if those files sit next to this page in the repository, so they are worth checking after any move. The outside address can be opened in a new tab to see whether it still exists. Switch to Images only to check that every image has alt text: an empty Text column means a screen reader user hears nothing.

For a bigger job, paste several pages one after another, switch on Each address once, and download the CSV. Sort it by the url column in a spreadsheet and broken patterns stand out: an old domain, a misspelled folder, the same page linked by two different paths.

The extractor has limits. It does not visit any address, so it cannot tell you which links are broken; that is your next step. Raw HTML links written as <a href="..."> inside the Markdown are not listed, and neither are bare addresses typed without any brackets. Reference-style uses such as [text][label] are covered by their definition rather than listed one by one. And documents over one million characters are refused.

Frequently asked questions

Does it check whether the links work?

No. Checking would mean visiting every address from your browser, which tells each site that you looked. The tool lists the links so you can check the ones that matter, or paste them into a link checker you trust.

Are reference links found?

The definition is, such as [docs]: https://example.com/docs, which is where the address lives. Each place that uses it, such as [read the docs][docs], is not listed again, because it adds no new address.

Why is a link in my code example missing?

Links inside inline code or a code block are skipped on purpose. In a README those are usually examples of syntax, and listing them would mix real links with sample ones.

Is my document uploaded?

No. The search runs in your browser in a background worker, and the CSV is made on your device.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.