Website Management Tools
HTML Link Extractor
Paste a page's HTML, or open an HTML file, and get a table of every link and resource in it: anchors with their text, images with alt text, scripts, stylesheets, canonical and alternate links, frames and form actions. Enter the page address and relative links are resolved and sorted into internal and external. The tool flags common problems such as empty hrefs, javascript: links, generic anchor text, missing alt text and mixed content. It reads the HTML text only. It does not run JavaScript, so links added by scripts are missed, and it never visits the addresses, so it cannot tell you whether they work.

How to use it
- Paste the HTML (use View Source in your browser and copy it), or open a saved .html file. Optionally enter the page address.
- Choose what to extract, remove duplicates if you wish, and filter to internal links, external links or rows with notes.
- Copy the addresses or download the table as a CSV.
Example
With the page address https://example.com/docs/ entered, the HTML <a href="../pricing/">Pricing</a> is listed as https://example.com/pricing/, marked internal, with the anchor text “Pricing”. A link <a href="https://partner.example.org/" rel="nofollow">Partner</a> is marked external with rel=nofollow.
What it extracts
- Links: every a and area element with an href, with its anchor text (or the alt text of an image inside it), rel and target.
- Images: img sources (the first srcset address when there is no src) with alt text.
- Scripts and stylesheets: script src and stylesheet link addresses.
- Head links: canonical, alternate and other link elements.
- Frames and forms: iframe sources and form actions.
Using the results
Download the CSV to audit your internal linking, review outbound links and their rel values, or find images without alt text. For the links found on a live page, the link analyzer and broken links finder visit the page for you. To count links without the details, use the links count checker, and to see how a crawler reads a page, try the spider simulator.
Limits
- Up to about 10 million characters of HTML and 100,000 rows.
- It is a tolerant scanner, not a full browser HTML parser, so badly broken markup can be read differently from how a browser reads it.
- Links created by JavaScript, and content inside iframes, are not included.
Questions
Does it find links added by JavaScript?
No. It reads the HTML text you give it and does not run scripts, so links created in the browser after the page loads are not found. View Source shows the HTML a server sent, which is what this tool reads. A browser's developer tools show the page after scripts have run.
Does it check that the links work?
No. It never visits any address, so it cannot see status codes, redirects or broken links. To check what happens when an address is visited, use a crawler or the server-based link tools on this site.
How does it decide whether a link is internal or external?
By comparing the host name of each resolved address with the page address you enter, ignoring a leading www. Without a page address, relative links cannot be resolved and links are not classified.
What are the notes in the table?
Common issues: empty or # hrefs, javascript: links, http:// links, mixed content on an https page, generic anchor text such as “click here”, images without alt text, links to the same address several times, and external links that open a new tab without a rel attribute. They are prompts to review, not errors in every case.
Why are links in comments or scripts ignored?
HTML comments and the contents of script and style elements are removed before reading, so example code and commented-out links do not appear. The src of a script element is still listed.
Is my HTML uploaded anywhere?
No. It is read in your browser. Nothing is sent to us.
Guides that go with this tool
SEO GuidesAnchor Text SEO: Best Practices for Links in 2026
Learn anchor text SEO best practices for 2026, including internal links, backlinks, exact-match anchors, paid links and Google's current guidance.
Digital MarketingTechnical SEO Checklist: 14 Checks for a Healthy Website
Use this technical SEO checklist to check crawling, indexing, sitemaps, HTTPS, speed, mobile and structured data, based on Google's own guidance.
Get practical SEO tips by email
Occasional emails with new guides and tools. Confirm by email first; unsubscribe in one click.