Internal Link Analyzer
Home/Tools/Link Analysis/Internal Link Analyzer
☍ Link Analysis

Internal Link Analyzer

v1.0 documentation

Crawls internal links from a page or sitemap, maps link structure, finds orphan pages, and analyzes anchor text distribution.

URL inputXLSX export
internal_link_analyzer.py164 lines5 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python internal_link_analyzer.py --url https://example.com --depth 2 --output links.xlsx
terminal
python internal_link_analyzer.py --sitemap https://example.com/sitemap.xml --output links.xlsx
3

Export

Add --output report.xlsx to save results as a spreadsheet.

Parameters
FlagDescription
--url requiredStart URL
--depthCrawl depth. Default: 2 (integer)
--max-pagesMax pages to crawl. Default: 50 (integer)
--delayDelay between requests. Default: 1.0 (decimal)
--outputSave as XLSX
help
python internal_link_analyzer.py --help
Use cases
Link audit
Monthly monitoring
Outreach prep

Run as part of a comprehensive site audit. Identify problems, export to XLSX, and include specific fix recommendations in your report.

Schedule monthly runs and compare XLSX exports to track changes. Catch issues before they impact rankings.

Use the output to identify link building opportunities. Export prospects and feed into your outreach pipeline.

Dependencies

Requires: beautifulsoup4, pandas, requests. All included in requirements.txt.

Get all 154 Python SEO tools — $49

One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.

Get the full toolkit

AAIO Inc — aaioinc.com/tools/internal_link_analyzer/