Link Extractor

Paste HTML to extract all internal and external links with anchor text, href, and rel attributes. Perfect for SEO link audits and content analysis.


Paste HTML above to extract links.
No external links found.
No internal links found.

Frequently Asked Questions

In your browser, right-click the page and select "View Page Source" (Ctrl+U on Windows, Cmd+U on Mac). You can then Select All (Ctrl+A), copy, and paste the full HTML into this tool. Alternatively, use browser DevTools β†’ Network tab β†’ click the page request β†’ Response tab.

A rel="nofollow" link tells search engines not to pass PageRank (link equity) through that link. Google introduced this in 2005 to combat comment spam. Other rel values include sponsored (for paid links) and ugc (user-generated content). All three variants are treated similarly by Google.

Anchor text is one of Google's ranking signals. Links with descriptive, keyword-rich anchor text (e.g., "best running shoes") pass more topical context than generic anchors like "click here". Analyzing your internal link anchor text distribution helps ensure important pages receive contextually relevant internal links.

Google's John Mueller has said Google crawls all links on a page, but there is no strict limit. However, for usability and crawl budget reasons, most SEO experts recommend keeping it under 100 internal links per page. Having too many links dilutes the PageRank passed through each individual link.

How It Works

Paste HTML

Paste the HTML source of any web page. Enter your base URL for accurate internal vs external classification.

DOM Parsing

JavaScript parses the HTML using a DOMParser, extracts all anchor tags, and collects href, anchor text, rel, target, and title attributes.

Sorted Results

Links are classified as internal or external, sorted, and displayed with all attributes. Filter by tab to focus on internal or external links.

Common Use Cases

Internal Link Audit

Check that important pages have enough internal links pointing to them, and that anchor text is descriptive rather than generic "click here" links.

External Link Review

Audit outbound links to ensure you are not linking to low-quality or broken external sites, and that sponsored links have proper rel="sponsored" attributes.

Nofollow Audit

Verify that user-generated content links, affiliate links, and sponsored links have the correct rel attributes to comply with Google's link spam policies.

Content Migration

Extract all links from a page before migrating content to identify internal links that will need to be updated to point to new URLs after the migration.

Competitor Analysis

Extract links from competitor pages to discover which resources they reference externally, potentially revealing link-building opportunities.

Broken Link Detection

Export the full list of links from a page to check for broken links (404s) that may harm user experience and waste your crawl budget.