A website link extractor can build a link inventory from page source by scanning href attributes, normalizing and deduplicating the targets, and returning one link target per line without visiting any destination. In this workflow, “website” means authorized page source, not a remote URL that the tool fetches and crawls.
Use the Link Extractor after copying HTML from a page or obtaining HTML through your own crawler. The HTML and extracted targets stay in your browser, and the tool never requests a listed destination. That makes the result a source inventory rather than proof that every target is reachable, indexable or appropriate to crawl.

Website URL versus pasted source
The tool cannot fetch a remote page URL. It parses HTML already placed in its input field, which keeps the operation local and avoids silently contacting pasted links. If the job requires following links across several pages, rendering a framework application or discovering pages that are not present in one source, use an authorized crawler. Use this source-extraction workflow when you need a local, reviewable inventory of specific HTML.
Copying visible link text is not equivalent to copying HTML source. A visible list may omit resource links, hidden elements or elements that the page renders after scripts run. The extractor needs the markup containing the relevant href attributes.
What the source inventory includes
The parser examines href attributes on a, area and link start tags. These elements have different purposes, so the result should be read as an inventory of link-bearing markup rather than a list of conventional page-navigation links.
| Source element | What its href may reference | Inventory interpretation |
|---|---|---|
| a | A page or document destination | Ordinary anchors are included, but the parser does not classify the relationship as navigational. |
| area | A target within an image map | It remains part of the source inventory even when it is not a conventional text link. |
| link | A resource or document relationship | It may reference a stylesheet, icon, canonical page or alternate resource, so inspect the surrounding tag before treating it as a page. |
All three element types are included because the tool's purpose is source inventory. It does not infer whether a target is navigational, canonical, preload, stylesheet or another relationship. It also does not evaluate rel attributes, classify targets as internal or external, or test HTTP status.
Preparing HTML and base URL
Start with HTML from a page you are authorized to inspect. Copy the page source or obtain the HTML through your own crawler. Links inserted only after JavaScript runs will not exist in static source and therefore cannot be found by this parser. Keep the pasted input within the 200,000-character cap; very large documents should be split or handled with a controlled crawler.
If the markup contains relative href values, prepare the absolute URL of the page that supplied the source. A valid base URL must use HTTP or HTTPS and cannot contain credentials. The base provides resolution context without causing the tool to guess a host.
Extract links from website source
The following workflow produces a source-level link inventory without requesting any discovered destination.
- Copy the authorized HTML source. Use the markup delivered by the page or HTML collected through your own crawler. Make sure the relevant start tags are present rather than relying on visible link labels alone.
- Paste the source into the extractor. The HTML remains in the browser and is processed locally. Confirm that the document is within the input cap before continuing.
- Add the absolute page URL as the base when needed. A base resolves root-relative, path-relative, parent-relative and scheme-relative values through the browser URL model. For example, an href of /pricing with a base of https://example.com/products/page resolves to https://example.com/pricing. Without a base, relative values remain relative so the tool does not invent a host.
- Run the link extraction. Allow the parser to scan the supplied start tags, apply any base resolution and produce the normalized results.
- Review the unique, duplicate and skipped counts. Read them beside the one-per-line result and note any filtering decisions that require further investigation. The output retains the first-seen order of retained targets.
- Copy the list for an authorized crawl or audit. Do not treat the copied targets as validated pages. Verify HTTP status, redirects, rel meaning and other page or access conditions separately where those facts matter.
Reading counts and normalized output
The unique count summarizes the retained targets after normalization and exact deduplication, while the duplicate count identifies repeated normalized targets that were collapsed. The skipped count shows how many values were omitted under the parser's rules. The final list preserves first-seen order, which makes it useful for comparing source order or preparing a later review.
Deduplication is exact after normalization. Two targets collapse only when their normalized forms match; tracking-parameter differences, case-sensitive path differences and possible redirect behavior are not treated as proof that two URLs identify the same resource. The parser also decodes decimal and hexadecimal character references plus the named references amp, quot, apos, lt and gt inside href values. Rare named references can remain encoded because the tool does not apply a guessed or incomplete global HTML entity table.
Comparing common href forms
With a valid base, relative-path resolution follows the browser URL model. The following treatments describe extraction behavior only; they do not indicate whether a target is healthy or suitable for indexing.
| href form | Extraction treatment | Review consideration |
|---|---|---|
| Absolute HTTP or HTTPS URL | Retained and normalized directly | Check its status and redirects separately. |
| Root-relative, path-relative or parent-relative path | Resolved when a valid base is supplied; otherwise retained as a relative value | Enter the actual absolute page URL when absolute targets are required. |
| Scheme-relative URL | Resolved against the supplied base; without a base, it remains relative | Confirm that the base represents the correct page context. |
| mailto: or tel: target | Retained | These are legitimate link destinations even though they are not web pages. |
| Same-document fragment | Skipped | No standalone target is returned for it. |
| javascript:, data: or vbscript: target | Skipped | Executable and embedded-data schemes are never returned. |
| Empty value or invalid absolute URL | Skipped | Review the skipped count so omissions are not mistaken for an empty source. |
Building an SEO review queue
Once copied, the list can become the starting inventory for an authorized crawl or SEO review. For each HTTP(S) target, use a separate authorized process to check response status, redirect chains, final destinations, authentication requirements and applicable robots controls. Inspect the original markup for rel meaning as well. The extractor performs none of those checks and does not decide whether a URL is internal, external, valuable, harmful or otherwise good for SEO.
Preserve the element context while reviewing the inventory. A target from a link element might identify a stylesheet, icon, canonical page or alternate resource rather than a destination for users. Mail and telephone targets remain in the list, so remove or separate them if a downstream crawler expects only HTTP(S) URLs. A listed target may redirect, return an error, require authentication, be blocked by robots controls or intentionally point off-site; none of those conditions is visible in the extracted line itself.
Reconciling source, DOM and crawl results
Completeness depends on the extraction channel. The scanner removes comments and common raw-text containers, including script, style, textarea, title, iframe, noembed and noframes, so strings that merely resemble anchor markup do not become false links. Template contents are also outside the bounded scan. The implementation does not execute scripts or render a framework application, so a link inserted after scripts run will not be present in the pasted source.
This is a bounded source parser rather than a full browser HTML tree builder. Severely malformed markup, unusual unquoted attributes, missing raw-text closing tags or browser error recovery can produce a different DOM from the bounded scan. For a legal, security or migration audit, compare the original source, a browser DOM export and a real crawler rather than trusting one extraction channel. The source parser is best suited to an auditable local inventory; a controlled crawler is the appropriate tool when the task requires rendered output or multi-page network discovery.