Internal & External Link Extractor
Extract and classify source links from pasted HTML or one public page, with relative resolution, duplicate flags and CSV export.
Extract source links
Used only for relative resolution and classification. It is never fetched in paste mode.
Up to 128 KiB of pasted characters. The first 60 links are reported. Scripts, styles and templates are excluded. The explicit base URL is used instead of a document base tag.
Understand your results
For editors auditing authored links without loading their destinations.
Paste mode uses browser DOM parsing without executing scripts. URL mode reads one initial document through the Worker. Both classify HTTP links relative to the source origin, retain anchor labels and rel/target attributes, resolve relative URLs, and mark later occurrences of the same destination as duplicates.
How to use this tool
- Paste HTML with an explicit base URL, or switch to Website URL.
- Extract the links and inspect category counts and duplicate flags.
- Filter the table and copy or download the filtered CSV.
What the observations mean
Anchor, mailto and telephone links are separate from internal and external HTTP destinations. Duplicate detection ignores fragments for HTTP links. The CSV reflects the current filter.
Worked example
Classify relative, external and fragment links.
<a href="/about/">About</a><a href="https://other.example/">External</a><a href="#team">Team</a>With https://example.com/ as the base, About is internal, External is external and Team is an anchor.
Limits and processing
First 60 links, bounded href and label lengths, initial source only. Remote HTML has the existing 128 KiB/five-redirect cap. Base tags are ignored and linked destinations are never fetched.
Common problems and practical fixes
- A relative link resolves incorrectly
- Check the explicit base URL. HTML base elements are ignored by this tool.
- More links are on the rendered page
- Client-generated links are outside an initial-source check.
- The report is truncated
- Only the first 60 links are retained; the total count still describes discovered source elements.
Best practices
Review the source document and destination meaning together before editing duplicate or external links.
Practical tips
- Use the published page URL as the base for relative links.
- Treat JavaScript links and unsupported schemes as non-HTTP observations.
Frequently asked questions
Practical answers for using the Internal & External Link Extractor.
Are link destinations fetched?
Extraction does not fetch any linked destination. Use the limited broken-link checker for a bounded spot check.
What counts as internal?
HTTP(S) URLs with the same origin as the source or explicit base URL. Subdomains can be external.
Does extraction execute pasted HTML?
No. Scripts, styles, templates and noscript are removed in paste mode. The inert document is never inserted into the page.