✎ TEXT · EXTRACTOR

URL Extractor

This free online URL extractor runs entirely in your browser — a web URL extractor that never uploads your text. Paste anything and extract URLs from text, HTML source, Markdown, JSON, CSV or log files: every link in one clean list, with tracking parameters optionally removed.

http · https · ftp · www. · HTML · Markdown · JSON · Sitemap XML · CSV export
Tip: choose Domains only to see which sites a page links to.Need the email addresses too? Extract Emails →
Text, HTML, Markdown or Sitemap Any text
URLs
Found: –
Unique: –
Domains: –
Time: –
100% Client-Side
◆ ABOUT THIS TOOL

How the URL Extractor Works

Extract URLs from HTML, Markdown, JSON, CSV, sitemaps or plain text — and cut each link off at the right place.

The extractor looks for links that start with http://, https:// or ftp:// — and, if you like, www. — then reads until the link ends. It works on plain text, HTML (it can extract href and src values straight from the source), Markdown ([text](url)), JSON, CSV and server logs — so you can get URLs from HTML code, JSON files and log files in one pass.

The hard part is knowing where a link stops. A full stop, comma, question mark or quote after a link is punctuation, not part of the URL. A closing bracket is only kept if the URL also contains the opening one — so (see https://example.com/page) gives https://example.com/page, while https://en.wikipedia.org/wiki/Mercury_(planet) stays complete.

HTML source. & inside links is turned back into &, so links copied from page source work when you open them.

Tracking parameters. Remove tracking parameters deletes utm_source, utm_medium, fbclid, gclid, msclkid and similar — other parameters and their order are kept exactly as they were.

Sitemap XML. Paste a sitemap.xml and every <loc> entry is listed. For more sitemap features, use the Sitemap URL Extractor.

✓ WHAT COUNTS AS A LINK

Matching Rules

What is and isn't extracted.

✓

Always

http://, https:// and ftp:// links, including ports, IP addresses, localhost and non-English paths.

www

www. links (on by default)

www.example.com without a scheme — the ending must be a real domain.

?

Bare domains (optional)

example.com/page with no prefix. Off by default, because text like Node.js or readme.md can look like a domain.

✕

Never

Email addresses, mailto: and javascript: links, and relative paths like /about (they have no domain).

◐ THREE STEPS

How to Use the Extract URLs

Get your link list in under ten seconds.

1

Paste your text

HTML source, Markdown, logs or any text — or open a file to extract URL from file exports: .txt, .html, .json, .xml and more.

2

Pick the options

www. links, bare domains, tracking removal, domains only.

3

Copy the list

One link per line — copy it, or download as .txt or .csv, ready for a spreadsheet or link checker.

✓ FEATURES

Why Use the Extract URLs on Developers Web Tools

Fast, accurate and private — built for developers.

()

Smart endings

Trailing punctuation removed; brackets kept only when they belong to the URL.

</>

HTML-aware

Reads href/src values and fixes &amp; in links from page source.

✂

Tracking removal

Optional removal of utm_*, fbclid, gclid and more — nothing else changes.

🌐

Domains only

See every site a page links to, listed once.

⚡

Fast

Large files are scanned in a background thread.

🔒

Private

Your text never leaves the browser.

FAQ

Frequently Asked Questions

Links without http://, https:// or www. are only found when Include bare domains is on. It's off by default because names like Node.js, config.json or readme.md can look like domains.

No — a relative link has no domain, so it isn't a complete URL. For links in HTML, including relative ones, use the HTML Link Extractor, which can resolve them against a base URL.

Punctuation at the end of a link is almost always part of the sentence. Closing brackets are kept only when the URL contains the matching opening bracket, as in Wikipedia links.

All utm_* parameters plus fbclid, gclid, gclsrc, dclid, gbraid, wbraid, msclkid, twclid, ttclid, li_fat_id, igshid, yclid, mc_cid, mc_eid, _hsenc, _hsmi, mkt_tok, ref_src and similar. Other parameters are left untouched.

No. Extraction runs entirely in your browser.

Paste the text and the list builds itself in under a second — a URL extractor online free of sign-ups, that runs entirely in your browser. Use Copy to grab the list, or Download .txt / .csv to save it.

Yes. Right-click the page, choose View page source, and paste the source here (or open a saved .html file). It reads every href and src — so you can extract URL from website source, extract URL from page HTML, or from any text.

Paste the HTML code (or open the .html file) and it will extract href from HTML tags, plus src attributes — and fix &amp; entities so the links open correctly. That's how you get URL from HTML code, online, in your browser.

Yes — paste the source and extract links from HTML online, right in your browser, with nothing uploaded. It also handles .html files you open directly.

Open the .json file or paste it — it reads URL strings from objects, arrays and values, so you can extract links from JSON API responses, or extract URL from JSON file exports, without writing a script.

Run the extraction, then press Download .csv — the list is saved as a CSV file with one url column, ready for Excel or Sheets.

Yes — it reads links out of CSV rows, so you can extract URL from CSV exports and get one clean list, duplicates removed. In short: a CSV URL extractor in your browser.

Yes — it reads [text](url) links, autolinks and bare URLs, so you can extract links from Markdown docs and README files, or extract URLs from Markdown sources in one pass — a Markdown extractor for links.

This tool lists URLs; to delete them, use the Find & Replace tool with the regex https?://\S+ and an empty replacement.

Yes — paste a sitemap.xml and it lists every <loc> entry, so you can extract URL from sitemap files. For index breakdowns and more sitemap features, use the Sitemap URL Extractor.

Further reading: WHATWG — URL Standard (the spec behind what counts as a URL) · RFC 3986 — URI: Generic Syntax