Markdown Link Extractor
Extract every link from Markdown into a table of anchor text, URL and title. Splits internal from external and flags duplicates and empty anchors.
What is the Markdown Link Extractor?
Markdown Link Extractor pulls every link out of a Markdown document and lays them out in one table. It understands inline links, reference links and their definitions, bare autolinks in angle brackets, and image links, recording the anchor text, the URL, the title attribute and the line each one came from.
- Finds inline, reference, autolink and image links in one pass
- Records anchor text, URL, title and line number
- Splits internal from external links using your domain
- Flags duplicate URLs and empty anchor text
- Handles URLs containing brackets and escaped characters
- Export the full list as a CSV file
How to use the Markdown Link Extractor
- 1
Paste your Markdown into the input box, or click Load example.
- 2
Optionally type your own domain so internal and external links are separated.
- 3
Toggle whether to include images and whether to remove duplicate URLs.
- 4
Read the results table, then copy or download the list as CSV.
About the Markdown Link Extractor
Markdown Link Extractor pulls every link out of a Markdown document and lays them out in one table. It understands inline links, reference links and their definitions, bare autolinks in angle brackets, and image links, recording the anchor text, the URL, the title attribute and the line each one came from.
Enter your own domain and the tool splits internal links from external ones, which makes it easy to audit outbound links or check internal linking before publishing. Duplicate URLs and links with empty anchor text are flagged, since both are common SEO problems in long documents.
All parsing happens locally in your browser and nothing is uploaded. That means you can audit unpublished drafts or private documentation safely, and export the whole list as a CSV file for a spreadsheet. Because no requests are made, the tool reports what your Markdown says rather than whether each URL currently resolves, which makes it fast even on very long documents.
Frequently asked questions
How do I get a list of all the links in a Markdown file?
Paste the file's contents into the input box and every link appears in the results table straight away. You can then copy the table or download it as a CSV to open in a spreadsheet.
Does it find reference-style links?
Yes. Reference links written as [text][id] are matched with their [id]: url definition at the bottom of the document, so the real destination URL shows up in the table.
Why does empty anchor text matter?
A link with no visible text gives readers and search engines nothing to go on, and screen readers announce only the raw URL. The tool flags these so you can write a descriptive label instead.
How are internal and external links decided?
Relative paths and same-page anchors always count as internal. Absolute URLs are compared against the domain you enter, ignoring a leading www, and anything on another host is external.
Is my document uploaded to a server?
No. The extraction runs entirely in your browser, so unpublished drafts and private documentation never leave your device and the tool works offline.
Related tools
Extract URLs
Extract all URLs and links from any text online. Detect http, https and www addresses, remove duplicates, sort them, and export one per line or comma-separated.
Markdown Table Formatter
Format and align Markdown tables so every column lines up. Fixes ragged rows, rebuilds the divider and sets left, centre or right alignment.
Markdown to BBCode Converter
Convert Markdown to BBCode for forums, or BBCode back to Markdown. Handles bold, italic, links, images, lists, quotes and code blocks.
Filter Lines (Grep for Text)
Keep or delete lines matching plain text, a wildcard or a regular expression. Includes invert match, whole word and extract-only-the-match modes.
Remove Duplicate Lines
Delete duplicate lines from any list or text instantly. Case-insensitive matching, whitespace trimming and keep-first or keep-last options.