Extract URLs
AI / AgentExtract all URLs and links from text or HTML: includes protocol, domain, and path breakdown.
Auditing which external domains a page links to, or pulling every `href`/`src` out of scraped HTML, is a one-off regex most people rewrite from scratch each time, and this does it in one pass, deduplicated, with each URL broken down into protocol, domain, and path. It works on plain text and HTML input and parses using regex and DOM parsing in the browser, so nothing you paste is uploaded, but it doesn't follow links to check whether they're reachable, and it won't extract URLs embedded in PDFs or images: extract the text first for those. It's tuned for well-formed URLs with a recognizable protocol or domain pattern, so heavily obfuscated links (spaces inserted to dodge spam filters, for instance) can be missed.
How to use Extract URLs
- 1.Paste raw text, an email, or an HTML snippet to pull out every URL it contains, deduplicated and listed cleanly.
- 2.Use the protocol/domain/path breakdown to quickly audit which external domains a page or document links to.
- 3.Paste scraped HTML to extract all `href` and `src` links in one pass instead of writing a one-off regex.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/extract-urls \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"text":"Visit https://utilix.tech or https://api.utilix.tech/docs for more."}'Get an API key from your dashboard · Full API docs →