Disavow File Generator
Home/Tools/Link Analysis/Disavow File Generator
☍ Link Analysis

Disavow File Generator

v1.0 documentation

Generate Google-format disavow.txt from toxic backlink analysis. Supports domain-level and URL-level rules with comments.

URL inputCSV/XLSX inputXLSX export
disavow_file_generator.py97 lines7 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python disavow_file_generator.py --input toxic_backlinks.csv --output disavow.txt
terminal
python disavow_file_generator.py --input toxic_backlinks.csv --threshold 50 --domain-level --output disavow.txt
3

Export

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

Parameters
FlagDescription
--input requiredInput
--thresholdThreshold. Default: 40 (integer)
--domain-levelEnable threshold mode (flag, no value needed)
--url-colColumn with referring URLs
--domain-colColumn with referring domains
--score-colColumn with toxicity/risk score
--outputOutput
help
python disavow_file_generator.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/disavow_file_generator/