Link Extractor
Extract all links and URLs from text or HTML
About Link Extractor
Link Extractor is a free online tool that scans any text or HTML source you paste and pulls out every URL it finds — displaying them in a numbered table you can filter, search, and export in seconds. In Text mode it matches bare URLs starting with http://, https://, ftp://, or www. In HTML mode it parses anchor tags with the browser DOMParser, so you also get each link's anchor text and its rel attribute (dofollow or nofollow) alongside the raw URL.
The tool is aimed at the specific moments when you need a list of links quickly: auditing the outbound links on a page before publishing, collecting citation URLs scattered across a long document, or checking which links on a competitor's page carry nofollow. The built-in stats bar shows totals for unique URLs, dofollow links, and nofollow links at a glance, and you can remove duplicates with a single checkbox before exporting.
Every extraction runs entirely in your browser with no server calls. You can safely paste internal dashboards, draft content, or confidential HTML source — nothing is uploaded, logged, or stored. The tool is free to use with no account required and no limits on how much content you process.
Key Features
Two extraction modes
Text mode uses a URL regex to find bare links in prose. HTML mode parses anchor tags with the browser DOMParser, returning the href, anchor text, and rel attribute for each link.
Dofollow / nofollow classification
In HTML mode every link is automatically labeled dofollow or nofollow based on its rel attribute, so you can filter the table to just one type without reading the raw markup.
Duplicate removal
Toggle "Unique only" to collapse all repeated URLs into one row before you copy or export, keeping your output clean without manual deduplication.
Search and filter in the results table
Type any keyword into the search bar to narrow results by URL or anchor text. Combine it with the dofollow/nofollow filter for precise subsets.
CSV and TXT export
Download filtered results as a CSV file with columns for URL, anchor text, rel value, and link type, or as a plain TXT file with one URL per line for scripting.
100% client-side and private
Parsing happens in your browser. Your pasted content is never sent to a server, so you can safely use it on draft pages, internal docs, or any HTML you would rather keep off the internet.
How to Use
Paste Your Content
Paste plain text containing URLs or HTML source code into the input area. Select the appropriate extraction mode (Text or HTML).
Extract Links
Click the Extract Links button to find all URLs in your content. View results in a sortable table with URL, anchor text, and link type.
Filter & Export
Use filters to narrow results by type or search terms. Export your extracted links as CSV, TXT, or copy them to your clipboard.
Example
HTML mode parses anchor tags and returns the URL, anchor text, and rel attribute for each link found on the page.
<p>Check out our <a href="https://hazuu.tools/tools/utm-builder">UTM Builder</a> or
visit <a href="https://example.com/guide" rel="nofollow">this guide</a> for more tips.
Also see <a href="/categories/miscellaneous-tools">Miscellaneous Tools</a>.</p> # URL Anchor Text Type
1 https://hazuu.tools/tools/utm-builder UTM Builder dofollow
2 https://example.com/guide this guide nofollow
3 /categories/miscellaneous-tools Miscellaneous Tools dofollow Common Use Cases
- arrow_circle_right
SEO link auditing
Paste the HTML source of any page to get a full breakdown of outbound links with their dofollow/nofollow labels. Spot unexpected nofollow tags or missing rel attributes before a page goes live.
- arrow_circle_right
Harvesting citations from long documents
Research notes and academic drafts often contain dozens of URLs scattered through paragraphs. Paste the text into Text mode to collect every URL into one exportable list without reading the whole document.
- arrow_circle_right
Cleaning up pasted content for republishing
When repurposing an article or press release, use the extractor to inventory all outbound links so you can decide which ones to keep, redirect, or remove before publishing on a new domain.
- arrow_circle_right
Checking affiliate and tracking links
Marketing teams can verify that every affiliate URL in a newsletter template or landing page HTML is present and correctly formatted by scanning the source in HTML mode and searching the results table.
- arrow_circle_right
Building link datasets for scripts
Export results as CSV or TXT to feed downstream tools — link checkers, redirect auditors, or spreadsheet reports — without writing a custom parser for each HTML source.