Internal and External Link Audit
List HTTP links from an HTML snippet and group them by host.
Result
How to use Internal and External Link Audit
- Enter the values in the order shown in the input label or try the built-in sample.
- Select Run tool to generate the output.
- Review the output before copying it.
How it works
List HTTP links from an HTML snippet and group them by host. Resolve relative URLs against the page URL and compare hostnames.
Formula or processing rules
Resolve relative URLs against the page URL and compare hostnames.
Worked example
The sample resolves /b against example.com and classifies example.org as an external host.
| Measure | Value |
|---|---|
| Full page URL on line 1; HTML on following lines | https://example.com/a <a href="/b">B</a><a href="https://example.org/c">C</a> |
| Result | Internal: https://example.com/b External: https://example.org/c |
Before using the result
Use the list to see where a tool page sends readers. Check important internal links against your intended canonical URLs and follow a sample in the browser.
Pros and cons
Pros
List HTTP links from an HTML snippet and group them by host. The sample provides an immediate check of the expected output.
Cons
Treat subdomains as distinct hosts in this report. The tool does not crawl destinations.
Troubleshooting
Check the input format and compare your case with the built-in sample. Treat subdomains as distinct hosts in this report. The tool does not crawl destinations.
Common issue and what to check
A subdomain is a different hostname in this report. Relative links require the exact page URL as the first input line.
Frequently asked questions
How do I use the text I get back?
Copy the output into the document, list, or compatible tool where you need it.
How does the transformation work?
Resolve relative URLs against the page URL and compare hostnames.
Can I try a sample first?
Yes. Select Try a sample to load the worked example and see the expected result.
What should I check before using the result?
Treat subdomains as distinct hosts in this report. The tool does not crawl destinations.
Is my input stored by the tool?
The transformation is computed in the open page. The tool does not save the submitted text.