On a Mac, use the browser-based Link Extractor to paste authorized HTML source, optionally resolve relative links with a base URL, and copy a deduplicated list of href targets.
Within this product’s supported workflow, macOS work happens in the browser rather than through a crawler: pasted HTML and extracted targets stay in the browser, and Link Extractor never requests a listed destination. That makes it useful for creating a source inventory, but not for confirming which pages respond, redirect, or carry a particular rel value.

What the Mac source workflow captures
Link Extractor scans pasted source for href attributes on a, area, and link start tags. It does not collect every URL-like string in a document. For example, an image file referenced through a src attribute is outside this inventory, while an image-map target in an area element is included.
| Source construct | Result | Important distinction |
|---|---|---|
| a href | Included | The output contains the target, not the visible anchor text. |
| area href | Included | Image-map targets are part of the source inventory. |
| link href | Included | Stylesheets, icons, canonical pages, alternate resources, and preloads can appear, but their relationships are not inferred. |
| Absolute HTTP, HTTPS, mailto, or tel target | Retained | Mail and telephone destinations remain in the list even though they are not web pages. |
| Empty target or same-document fragment | Skipped | The omission is reflected in the skipped count. |
| javascript, data, or vbscript scheme | Skipped | Executable and embedded-data targets are never returned. |
| Invalid absolute URL | Skipped | Invalid values are omitted rather than presented as usable destinations. |
The bounded scan removes comments and common raw-text containers such as script, style, textarea, title, iframe, noembed, and noframes before looking for links. This reduces false results from text that merely resembles anchor markup. Template contents are also excluded under the product’s parsing contract.
Link Extractor is a source parser rather than a full browser tree builder. It does not execute scripts or render a framework application, so the result can differ from the browser’s final DOM when the page is heavily generated or the markup is malformed.
Extract links from a Mac browser
Use a browser on macOS to obtain the original source, then paste that source into Link Extractor. The following workflow keeps the source, the resolution context, and the review steps explicit.
- Open a page you are authorized to inspect. This may be a site you manage, a staging page under your control, or HTML you received through an approved export. The tool is intended for authorized source analysis.
- Open the browser’s page-source view. In Safari, enable the Develop menu if needed and choose Show Page Source. Chrome opens source with Command-Option-U, while Firefox uses Command-U. In another browser, use its View Page Source command. Copy the complete source rather than the visible page text.
- Copy and paste the HTML into Link Extractor. Keep the tags and attributes intact. A rendered text selection cannot reveal links created after scripts run, and a small selected fragment may omit relevant links elsewhere in the document.
- Check the input size. The source field accepts up to 200,000 characters. For a much larger document, split the source into manageable sections or obtain the material through your own controlled crawler.
- Add the base URL when relative paths need resolution. Enter the absolute page URL that represents the source context, such as an HTTP or HTTPS address without credentials. Leave it blank when you want relative href values to remain relative.
- Extract the links and inspect the result. Review the unique, duplicate, and skipped counts alongside the one-target-per-line output. The count panel makes filtering decisions visible instead of allowing a short list to look complete without explanation.
- Copy the list into an authorized crawl or audit. The extracted targets are inventory items. Check response status, redirects, rel meaning, and links rendered by JavaScript separately before drawing conclusions about the page.
This Mac workflow does not fetch the page for you. Link Extractor cannot retrieve a remote URL because it never contacts the pasted destinations; you supply the source from a browser or your own crawler.
Resolve relative paths with the correct base
The optional base URL supplies the missing origin and path context for root-relative, path-relative, parent-relative, and scheme-relative href values. With a valid HTTP or HTTPS base, the tool applies the browser URL model rather than inventing a host.
For example, /pricing under https://example.com/products/page becomes https://example.com/pricing. Without a base, the relative value remains relative, so the output does not claim that the target belongs to a domain that was never supplied.
Absolute HTTP and HTTPS addresses are handled directly, as are mailto and telephone targets. The base itself must use HTTP or HTTPS and cannot contain a username or password. Supplying the base does not cause the tool to visit that page; it is used only as a resolution context.
A base URL is most useful when the pasted source contains paths such as /pricing, ../guide, or another relative reference. It is unnecessary when every meaningful target is already absolute, although adding the source page URL can still make the workflow consistent.
Interpret unique, duplicate, and skipped counts
The counters describe what happened during normalization and filtering. Read them before copying the output into another system.
- Unique represents the distinct targets retained after normalization and exact duplicate removal.
- Duplicate identifies repeated occurrences that resolved to a target already retained. Two identical relative links that become the same absolute URL collapse into one entry.
- Skipped covers values the tool refused to return, including empty targets, fragment-only references, executable or embedded-data schemes, and invalid absolute URLs.
Duplicates are removed after normalization, and the output retains first-seen order. Deduplication is exact: URLs that differ by query parameters, tracking parameters, fragments, case-sensitive paths, or later redirect behavior are not treated as the same resource.
The parser also decodes decimal and hexadecimal numeric character references plus the named references amp, quot, apos, lt, and gt inside href values. It is not a complete HTML named-character database, so a rare named reference can remain encoded instead of being expanded through a guessed global entity table.
Choose source, DOM, or crawler evidence
No single extraction channel covers every link on a modern page. Choose the evidence that matches the question being asked, then compare channels when the result will drive a legal, security, migration, or SEO decision.
| Channel | Useful evidence | Main limitation |
|---|---|---|
| Pasted HTML source | A static inventory of href targets from a, area, and link elements without requesting those destinations. | Links inserted after scripts run are absent, and the bounded parser may differ from browser error recovery on malformed markup. |
| Browser DOM export | A view of the rendered document that can include script-inserted links. | It may differ from the original source, so the export must capture the DOM you actually intend to review. |
| Authorized crawler | Crawl evidence under your own configuration and access rules. | It is a separate operation from Link Extractor and has its own scope, rendering, and access behavior. |
Severely malformed markup, unusual unquoted attributes, missing raw-text closing tags, and browser error recovery can cause a bounded source scan to produce a different result from a browser DOM. For high-impact audits, compare the original source, a browser DOM export, and a real crawler rather than treating one extraction channel as complete proof.
Use the list responsibly in an SEO review
The output is an inventory, not a health report. A listed target may redirect, return an error, require authentication, be blocked by robots controls, or intentionally point to another domain. The tool does not test status, follow redirects, evaluate rel attributes, classify URLs as internal or external, or decide SEO quality.
Use the list as the starting point for a controlled review:
- Check the original source for each link element’s context and rel value, especially when the target came from a link element rather than an ordinary anchor.
- Use an authorized crawl or audit tool to verify response status, redirects, authentication requirements, and relevant access controls.
- Compare a browser DOM export when JavaScript may add or change links after the page loads.
- Review canonical, stylesheet, icon, alternate, and preload entries in their original element context rather than assuming every href represents a navigable page.
- Separate mail and telephone targets from page URLs before using the list in a content inventory, crawler, or reporting sheet.
Link Extractor never requests the destinations, so the pasted source and extracted targets remain in your browser. Base URLs containing credentials are rejected, and only authorized HTML should be pasted into the workflow. The resulting list is most useful when treated as clean source-level input to a broader, properly controlled audit.