4QueriesFree audit
Open Source · PythonFreeMIT · Python ≥3.10 · pip install

linkrank: internal PageRank and keyword cannibalization

A free crawler that builds your internal link graph, scores internal PageRank on the Link Score 0-100 scale (the same idea as Screaming Frog Link Score and OnCrawl InRank) and finds cannibalization, all locally and without paid APIs.

Link Score 0-100

Weight of every page

See where internal linking concentrates authority and which pages are starved of any internal signal.

Orphans and depth

Orphan pages

Finds pages with zero internal inlinks and pages buried too many clicks from the homepage.

Cannibalization

Pages competing

One anchor pointing to many targets, duplicate titles and H1s, near-duplicate content by TF-IDF cosine.

Install and run

Two commands

# install (the selectolax pin works around a backend deprecation in selectolax 1.0)
pip install linkrank 'selectolax<1'

# audit any site -> JSON + self-contained HTML report in ./reports/
linkrank https://your-site.com --max-pages 300

Options: --max-pages (default 2000), --depth, --timeout, --workers, --sim-threshold (default 0.80), --include-subdomains, --out, --json-only. Methodology: internal PageRank (Page and Brin, 1998) with damping 0.85, nofollow evaporates, Link Score is a log scale 0-100; cannibalization uses anchors, title/H1 clusters and TF-IDF cosine.

See it in action

The run and the report

Terminal after a linkrank run: crawl summary, pages crawled and the saved JSON and HTML report paths
The run prints the crawl summary and the paths of the two report files it wrote.
The self-contained HTML report linkrank writes: link score table, orphans and cannibalization blocks
The HTML report is self-contained: Link Score table, orphans, depth and cannibalization in one file you can open offline or send to a client. Open the example report.

Want an internal linking audit for your site?

We run linkrank on your site, review Link Score, orphans and cannibalization, and hand you a prioritized fix list.

Get a free 4Queries audit