Links extractor
Paste HTML to extract and categorise all hyperlinks — internal, external, anchor, and mailto. Deduplicated with CSV export.
100% in your browser. Your HTML is never sent to any server.
How to use
- Optionally enter the page's base URL to resolve relative links.
- Paste the page's HTML source code.
- Click Extract Links to see all links categorised by type.
- Use the filter buttons to show only internal, external, anchor, or mailto links.
- Click Export CSV to download the results.
Common use cases
- SEO audits — review internal linking structure and anchor text distribution.
- Broken link detection — export the list and run it through a link checker.
- Content migration — extract all links before redesigning to avoid broken references.
- Competitive research — see all external links from a competitor's page.
Also see: HTML to Text and Meta Tags Preview.
Frequently Asked Questions
- What types of links can this tool extract?
- The tool extracts all <a href="..."> elements from HTML, categorised as: external links (starting with http/https to a different host), internal links (relative paths or same-host absolute URLs), anchor links (href starting with #), mailto links (email addresses), and tel links (phone numbers).
- How do I get the HTML for a page I want to audit?
- In Chrome or Firefox, right-click anywhere on the page and choose "View Page Source" (or press Ctrl+U / Cmd+U). Select all the HTML (Ctrl+A / Cmd+A), copy it, and paste it into this tool.
- Does this tool follow redirects or check if links are broken?
- No. This tool only parses the HTML you paste — it does not make any network requests. To check whether extracted links are live or broken, use a link checker tool that crawls pages.
- What is the base URL for?
- Many pages use relative links like /about or ../contact. The base URL is used to resolve these relative links into absolute URLs, making it easier to identify which links are internal versus external.
- Does the tool deduplicate links?
- Yes. By default, identical href values are deduplicated so each unique URL appears only once. You can see the count of how many times each link appears.
- Can I export the extracted links?
- Yes. Click the CSV export button to download all extracted links as a spreadsheet-compatible CSV file with columns for URL, type, link text, and occurrence count.
- What is a nofollow link?
- A nofollow link has the rel="nofollow" attribute, which instructs search engines not to follow the link or pass link equity. The tool shows whether each link has rel="nofollow", "sponsored", or "ugc" attributes.
- How is this useful for SEO?
- Link extraction is useful for auditing internal link structure (are your important pages well-linked?), identifying broken or outdated external links, finding orphaned pages, and reviewing anchor text diversity.