Text Tools
Markdown Link Extractor
Extract every link from Markdown, including reference links, autolinks, bare URLs and images, with line numbers. Export a table, URL list or CSV.
How to use Markdown Link Extractor
Paste a README, blog post or documentation page in Markdown and the links are listed as you type. Choose table, URLs only, Markdown list or CSV, and decide whether to include images and bare URLs or list each URL once.
- Paste the MarkdownPaste a README, docs page or post, including any reference definitions at the bottom.
- Choose what to includeKeep or drop images and bare URLs, and tick List each URL once to remove repeats.
- Export the linksReview them in the table, or switch to URLs only or CSV for a link checker or spreadsheet.
Which link types are found
Inline links and images, reference links resolved through definitions such as [docs]: https://example.com/docs, collapsed and shortcut references, autolinks in angle brackets (including email addresses) and bare URLs starting with http, https or www are all found. URLs containing brackets, such as Wikipedia's Markdown_(disambiguation) page, are kept whole. Anything inside fenced code blocks or inline code is ignored, so code samples are not reported. The default sample yields 7 items: three inline links, an image, a reference link, an autolink and a bare URL.
Checking a document's links
The table shows each link's line number, type, text, URL and title, which makes it easy to find broken or outdated links in long documentation. References that point to a missing definition are listed in a warning, links with an empty URL are counted, and definitions that are never used appear as Unused definition rows. The URLs only output pastes straight into a link checker, CSV gives text and url columns for a spreadsheet, and Markdown list produces a ready-made list of links. Images can be included or left out.
Accuracy and data handling
Before copying the output, check names, punctuation and the intended meaning against the source text. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
How do I extract all links from a Markdown file?
Paste the Markdown into the box. Every link appears in a table with its line number; choose URLs only, one per line to copy just the addresses.
Are image links included?
Yes, by default, marked as Image. Untick Include images to list only ordinary links.
Are plain URLs in the text found?
Yes. URLs starting with http://, https:// or www. are listed as Bare URL, with trailing punctuation trimmed off. Untick Include bare URLs to ignore them.
Why is a link missing from the results?
Links inside code blocks or inline code are skipped on purpose. A reference link whose definition is missing appears in a warning instead of the table.
More Text Tools
Related toolsTurn HTML into readable plain text, keeping paragraphs and lists.
Turn a timed typing test into net WPM, accuracy and characters per minute.
Render Markdown live, check heading structure and copy the HTML.
Live word, character and sentence counts with reading time and a word limit
Count lines and find blank, repeated and over-long lines in any text
Estimate read time and read-aloud time for any article or script.