URL Extractor

Pull every link out of any text or HTML: full URLs, www addresses, bare domains, and href and src attributes. Clean them up by removing duplicates and tracking parameters, filter by domain or file type, list unique domains, and export as plain text, CSV, HTML links or Markdown.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile
Drop an HTML, text or sitemap fileor browse files · or paste below

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

What Is a URL Extractor?

A URL extractor (or link extractor) finds every web address in a piece of text and lists them for you. It saves a lot of scrolling and copying when you need the links from a long email, a document, chat history, a social media export, a spreadsheet, or the HTML source of a web page. SEO professionals use link extraction to audit pages and sitemaps, marketers use it to collect campaign links, researchers gather sources and references, and developers pull asset URLs from code.

This free tool recognises full URLs (https://, http://, ftp://), www. addresses, bare domains like example.com, and links inside HTML href and src attributes. It trims punctuation that often clings to links in sentences, while keeping valid brackets as in Wikipedia URLs. It can also strip tracking parameters and output the list in several formats.

How to Extract URLs

  1. Paste text or HTML, or drop an HTML, XML sitemap, text or email file.
  2. Choose what to keep: all links, pages only, images, documents or media, plus an optional domain filter.
  3. Pick clean-up options: de-duplicate, add https://, remove UTM parameters.
  4. Choose the output format and copy, download or export to CSV.

Output Formats

FormatExampleUse it for
URL listhttps://example.com/pageSpreadsheets, crawlers, bookmarks
Unique domainsexample.comBacklink and outreach audits
HTML links<a href="…">…</a>Web pages and newsletters
Markdown- [url](url)README files, notes, wikis
CSV exporturl,domainAnalysis in Excel or Google Sheets

Removing Tracking Parameters

Links shared from newsletters, ads and social media often carry tracking parameters such as utm_source, utm_campaign, fbclid and gclid. They make URLs long and ugly, can create duplicate entries for the same page, and reveal where you found a link. Tick "Remove tracking parameters" to strip them while keeping the parameters the page actually needs, like ?id=5.

Features

  • Finds all link typesFull URLs, www, bare domains, href and src.
  • Smart punctuation handlingRemoves trailing commas and full stops, keeps balanced brackets.
  • FiltersBy domain or path text and by file type.
  • Tracking removalStrips utm_, fbclid, gclid and similar.
  • Multiple outputsList, domains, HTML, Markdown and CSV.
  • PrivateRuns entirely in your browser.

Link Extraction for SEO

SEO specialists extract links for many tasks: listing all internal links on a page to check site structure, finding outbound links to review their quality, auditing broken or redirected URLs, collecting the URLs from an XML sitemap to check indexing, or gathering competitor backlinks from exports. The unique-domains output is handy for outreach and disavow work, since it collapses hundreds of links into the list of websites involved.

After extracting, paste the URLs into a crawler, a spreadsheet or Google Search Console's URL inspection tool as needed. Removing tracking parameters first helps avoid treating the same page as several different URLs, and adding https:// to www links makes the list ready for tools that require full URLs.

Tip: to get only the links of one website, type its domain in "URL contains". To list just the files you can download, choose "Documents".

Tip: sort the list to group links from the same site together.

Frequently Asked Questions

Can it extract links from a PDF?

Copy the PDF's text and paste it here, or convert it to text first with our PDF to Text tool. Visible URLs will be extracted.

Why are some links missing the https:// part?

Links written as www.example.com or example.com are kept as written. Tick "Add https:// to www links" to complete them.

Can I convert the links into clickable HTML?

Yes. Choose "HTML links" as the output format.

Does it follow the links?

No. It only reads the text you provide, and no network requests are made to the URLs.

How do I extract all links from a web page?

Open the page, press Ctrl+U (Cmd+Option+U on Mac) to view the source, copy it all and paste it here. Tick "Include relative links" to include internal links like /about.

Can it extract URLs from an XML sitemap?

Yes. Paste the sitemap XML or drop the file, and every <loc> URL is listed.

Why was an email address not listed as a URL?

Email addresses aren't web links, so they're excluded. Use the Email Extractor for those.

How do I get only image links?

Set "Keep" to Images. Links ending in .jpg, .png, .gif, .webp, .svg and similar are listed.

Is my data uploaded?

No. Everything is processed locally in your browser.