← All tools
// Text / Extract

URL Extractor online

Extract all URLs from any text or HTML source

⚠ Lawful use only. Extracted URLs must not be used to build unsolicited contact lists or to scrape third-party sites in breach of their terms. You are responsible for compliance with applicable law (UK GDPR, EU GDPR, anti-spam regulations and copyright). Chunky Munster accepts no liability for misuse. See Terms.
URL Extractor logo
by
CHUNKY
MUNSTER
// Paste your text or HTML below

How to Use the URL Extractor

  1. Paste or enter your input into the text field.
  2. Configure any options (format, delimiter, encoding, or mode) using the controls above the output.
  3. The result updates instantly — no submit button required for most operations.
  4. Click Copy or Download to take the output to your next step.

Pull every URL out of a block of text or HTML in one pass. The extractor uses a tuned regular expression that recognises http/https URLs, balances parentheses inside paths (so Wikipedia-style links survive), and trims stray trailing punctuation that isn’t really part of the address.

How the URL Extractor Works

Results can be deduplicated while preserving original order, sorted alphabetically, or filtered by domain. An optional repair step adds https:// to obvious bare domains (example.com→https://example.com). Total and unique counts are shown so you can spot duplicates at a glance.

Frequently Asked Questions

What URL formats does the extractor recognise?

It catches http://, https://, and (optionally) bare domains like example.com/path. Mailto and ftp links can be enabled separately. The regex handles internationalised domain names and percent-encoded paths.

How are trailing punctuation marks handled?

Stray characters like commas, full stops, and closing brackets at the end of a URL (e.g. ‘see https://example.com.’) are stripped. Brackets are balanced so a Wikipedia-style URL with parentheses inside isn’t cut short.

Can I extract URLs from raw HTML source?

Yes — paste HTML and the tool finds URLs both in href/src attributes and in plain-text content. Use the deduplicate option to collapse repeated links.

Is my input uploaded anywhere?

No. The extraction is a regular expression run inside your browser; nothing is sent over the network.

Explore the full suite of Text tools and 290+ other free utilities at Chunky Munster.