Backlink Anchor Profiler
Home/Tools/Link Analysis/Backlink Anchor Profiler
☍ Link Analysis

Backlink Anchor Profiler

v1.0 documentation

Analyzes backlink anchor text distribution from exported CSV data (Ahrefs, Semrush, Moz exports). Detects over-optimization and spam patterns.

CSV/XLSX inputXLSX export
backlink_anchor_profiler.py126 lines5 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python backlink_anchor_profiler.py --input backlinks.csv --output anchor_profile.xlsx
terminal
python backlink_anchor_profiler.py --input ahrefs_export.csv --keyword "best seo tools"
3

Export

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

Parameters
FlagDescription
--input requiredCSV/XLSX with backlinks
--anchor-colAnchor col
--keywordTarget keyword for exact/partial match detection
--brandBrand name for branded anchor detection
--outputSave as XLSX
help
python backlink_anchor_profiler.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: pandas. 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/backlink_anchor_profiler/