URL Extractor
Extract every URL from a Markdown document — filtered and deduped
Pull links, images, mailto addresses, and bare URLs from any Markdown content. Filter by kind, dedupe with occurrence counts, and export as a Markdown list, plain text, CSV, or JSON.
Filters
How to use the URL extractor
- Paste Markdown or load a
.mdfile. - Toggle the filters to include / exclude mailto, images, and relative paths.
- Pick a format (Markdown list, plain text, CSV, or JSON).
- Copy or download the result.
Why extract URLs?
- SEO audits. Pull every outbound link to verify they all point to expected destinations.
- Link-bank for newsletters. A long post often references 20+ resources; extract them once for a "links" section.
- Bug reports. Capture the URL footprint of a doc before refactoring to confirm nothing is dropped.
- AI prompts. Pasting a flat URL list into a research assistant is more reliable than asking it to skim a long document.
Output examples
- https://example.com/docs
- https://example.com/api
- mailto:hi@example.com
CSV:
url,kind,count,lines
"https://example.com/docs",external,3,"4;12;18"
"mailto:hi@example.com",mailto,1,"7"
Companion tools
- Markdown Link Checker — validate the URLs you extract.
- Markdown Image Audit — focus on image refs.
- Markdown Diff — compare URL lists between versions.
Privacy & data
Extraction is a small client-side regex pass. We don't upload or log content.
Frequently asked questions
- Markdown link syntax `[text](url)`, image syntax ``, mailto: links, and bare http(s) URLs in body text. The extractor lists each unique URL with its kind and how many times it appears.
- Many documents reference the same URL multiple times (a 'docs' link cited from several sections). Deduplication keeps the output compact and shows you the unique audit surface with occurrence counts.
- Markdown bullet list (paste into another doc), plain text (one URL per line), CSV (url, kind, count, lines — for spreadsheets), and JSON (for scripting). Toggle the format in the top-right select.
- No — this tool only extracts. For follow-up validation, use the [Markdown Link Checker](/tools/markdown-link-checker) which classifies and pings links.
- Uncheck the mailto, images, and relative filters. The kind column shows what's left.
- No. Extraction runs entirely in your browser.