Link & URL Extractor

· Free browser tool

A link extractor pulls every URL out of a block of HTML or plain text and tells you what each one is: the destination, the anchor text, whether it carries a nofollow, sponsored, or ugc attribute, and whether it points inside your own site or out to another domain. It is the fastest way to audit the link profile of a single page, check a competitor’s outbound footprint, or confirm that a draft’s internal links resolve the way you expect before it ships.

This tool is completely free and runs entirely in your browser. It parses HTML with the same DOMParser engine the browser uses to render pages, classifies each link live, and lets you filter, copy, and export the results to CSV. Nothing you paste is sent to a server.

How to use the link extractor

Paste your source on the left, set your domain so the tool can separate internal from external links, then filter, copy, or export the results.

Extract from raw HTML, not just visible URLs

The HTML tab feeds your paste into a real DOMParser, so it reads every <a href> element exactly as a browser would, including links wrapped around images or buried in nested markup that a plain regex would miss. View-source on any page, copy the markup, and paste it in to get the full anchor list with its real anchor text. Each row shows the destination URL, the visible anchor, and any rel tokens, so you can see at a glance which outbound links pass authority and which are blocked. Empty or fragment-only hrefs are skipped automatically.

Set your domain to split internal from external

Type your site into the domain field and the tool compares each link’s hostname against it, after stripping www, to label every result internal or external. Relative links such as /about/ count as internal because they resolve against the same domain. This is what turns a flat URL dump into an actionable audit: you can confirm a page is not leaking link equity to unexpected external sites, check that your internal linking actually fires, and isolate third-party destinations for a quick safety review before they go live.

Filter, then copy or export for the next step

The All, Internal, External, and Nofollow chips filter the live list, and every export respects the active filter, so you can pull just the external nofollow links or just the internal set without hand-editing. The counters across the top track totals, dofollow versus nofollow, and the number of unique domains referenced. Copy URLs drops one clean URL per line straight to your clipboard for a crawler or spreadsheet, while Export CSV writes href, anchor, rel, and scope columns ready for Sheets or Excel.

Link extractor frequently asked questions

Q1What is the difference between the HTML and plain text modes?

HTML mode parses your paste with the browser’s DOMParser and reads each anchor element, so it returns the real destination, the visible anchor text, and any rel attributes. Plain text mode ignores markup and uses a pattern match to pull bare URLs out of any text, which is useful for log files, emails, or copy that contains links but no HTML. Use HTML mode when you have source markup and text mode when you only have loose URLs.

Q2How does the tool decide if a link is internal or external?

It compares each link’s hostname against the domain you enter, after removing the www prefix from both. A match is labelled internal, a different host is labelled external, and a relative path like /pricing/ is treated as internal because it resolves against your own domain. If you leave the domain field blank, absolute links are shown as external because there is nothing to compare them to. Mailto and tel links are flagged separately as non-navigational.

Q3What do the nofollow, sponsored, and ugc tags mean?

They are rel attribute values that tell search engines how to treat a link. Nofollow asks engines not to pass ranking signals, sponsored marks paid or affiliate links, and ugc marks user-generated content such as forum posts or comments. Any of the three means the link is not a plain dofollow link, so the tool groups them under the nofollow filter. Links with no such attribute are labelled dofollow and can pass authority.

Q4Is my pasted data sent to a server?

No. The entire tool runs as client-side JavaScript in your browser. Your pasted HTML or text, your domain, and every extracted link stay on your device and are never uploaded, logged, or stored. The copy and CSV export both happen locally. Because nothing leaves the page, the tool is safe to use on unpublished drafts, internal pages, or confidential markup, and it keeps working even with no network connection once loaded.

Q5Why are some links missing or counted only once?

Links with an empty href, or pointers to a page fragment only, are skipped because they have no destination to extract. By default the dedupe option is on, so a URL that appears several times is listed once; turn it off to keep every occurrence. In plain text mode, only http, https, and bare www addresses are matched, so relative paths and exotic schemes will not appear unless they are present as full URLs in the text.

Hristo Bogdanov, Head of SEO at SEO Domains

Hristo Bogdanov

Head of SEO @ SEO Domains · CEO & Co-founder of SEO.bo

Hristo has spent 15+ years building aged-domain acquisition and screening workflows for SEO professionals, brand owners, and domain investors, and builds the free tooling SEO Domains publishes for practitioners.