All tools

Extract URLs

AI / Agent

Extract 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.

urlextractlinksscrapeparsehref

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

Does this run in my browser or on a server?
Extraction runs entirely client-side using regex and HTML parsing in the browser — nothing is uploaded.
Does it follow the links to check if they're valid?
No — it only extracts and parses URL text, it doesn't make network requests to check if links resolve or are reachable.
Does it extract URLs from PDFs or images?
No, it works on plain text and HTML input only — for PDFs, extract the text first with a PDF tool, then paste it in here.
Will it catch malformed or partial URLs?
It's tuned for well-formed URLs with a protocol or recognizable domain pattern; heavily obfuscated or broken links (e.g. spaces inserted to dodge spam filters) may be missed.

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 →