LectionFree Tool

Link Extractor

Extract all internal, external, file, email, and fragment links from any live webpage, then filter and export the results.

Free link extractorInternal link auditExtract links from any page
Paste a public page URL. The extractor fetches the HTML, resolves relative URLs, and classifies each anchor link.
Try:
A good page-level link audit starts with the raw anchor list. Once you can separate internal links, external links, and downloadable file URLs, it becomes much easier to debug crawl paths, outbound references, and export targets.

What is a link extractor?

A link extractor is a page-level crawler for one URL. Instead of manually scanning the source code or clicking around a page, it collects every anchor tag it can see in the HTML response, resolves relative links into full URLs, and shows you where that page points.

That matters for both SEO and scraping work. SEO teams use a free link extractor to review internal linking, spot nofollow outbound references, and find downloadable file URLs such as PDFs or XML feeds. Scraping teams use the same link list to build seed URLs, identify pagination paths, or isolate the links that should be followed in a larger crawl.

This tool is designed for fast practical audits. Paste a public URL, separate internal from external links, inspect fragment or file links, and export the result when you need a quick handoff or a clean URL list for the next step in Lection.

How to use a link extractor

Start with the totals, then narrow the page down by link type. Internal links tell you how the page contributes to crawl flow. External links show citations, affiliates, or platform dependencies. File links often reveal downloadable resources or structured feeds.

Step 1

Check link mix

Compare internal, external, and file links first. A category-heavy page often hints at its role in the site architecture.

Step 2

Filter by intent

Use the filter chips to isolate only internal links, outbound links, file URLs, or fragments before reviewing the full list.

Step 3

Export the result

Download CSV, Excel, or JSON when you need a link inventory for SEO QA, crawl planning, or follow-up scraping.

Example: if a blog post shows mostly internal links plus a few nofollow external citations, that is normal for editorial content. If an important landing page has almost no internal links and dozens of fragment links, it may not be contributing much crawl depth to the rest of the site.

Another example: if you isolate file links and find PDFs, XML exports, or CSV downloads, those URLs can become direct scraping targets or support documents for a broader extraction workflow.

Common use cases

  • Auditing internal links on a page before or after a site migration.
  • Extracting outbound references and nofollow links for SEO reviews.
  • Building seed URL lists for a crawler, scraper, or deep-link workflow.
  • Finding downloadable PDF, XML, CSV, or JSON resources linked from a page.
  • Reviewing navigation-heavy pages to see whether the visible page structure matches the raw HTML links.

FAQ

What does this free link extractor pull from a webpage?

It extracts anchor tags from the page HTML, resolves relative URLs, classifies links as internal, external, file, email, fragment, or other, and shows rel attributes such as nofollow.

Can I use this link extractor as an internal link checker?

Yes. Filter the results to internal links and export them if you want a quick internal-link inventory for a specific page.

Why are some links marked as file links instead of internal or external?

File links point to assets such as PDFs, XML files, CSVs, spreadsheets, or archives. Those URLs are often useful export targets and deserve their own category during audits.

Does the tool follow JavaScript-rendered links?

Not reliably. This extractor reads the HTML response from the server, so links injected only after heavy client-side rendering may not appear in the result.

What is the difference between original href and resolved URL?

The original href is the raw link value in the page markup, which might be relative like /pricing. The resolved URL is the full absolute URL after that value is interpreted against the final page URL.

Can I export the extracted links to CSV or Excel?

Yes. The tool includes JSON, CSV, and Excel exports so you can hand the results to an SEO audit, spreadsheet workflow, or scraping pipeline.

Related resources

Want to schedule and automate these scrapes? Create a free account to get started.Create Account

Need to move from a one-page audit to a reusable extraction workflow? Lection can follow the links you validate here and turn them into structured data without hand-building a crawler.