Url Slug Analyzer
Home/Tools/Technical SEO/Url Slug Analyzer
⚙ Technical SEO

URL & Slug SEO Analyzer

v1.0 documentation

Analyzes URL structure, slug quality, depth, length, keyword usage, and parameter issues across a set of URLs.

URL inputFile inputXLSX export
url_slug_analyzer.py128 lines5 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python url_slug_analyzer.py --urls https://site.com/page1 https://site.com/long/nested/page
terminal
python url_slug_analyzer.py --sitemap https://site.com/sitemap.xml --output url_audit.xlsx
terminal
python url_slug_analyzer.py --file urls.txt --keyword "cloud hosting"
3

Export

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

Parameters
FlagDescription
--urlsUrls. Multiple values allowed
--fileFile
--sitemapSitemap XML URL
--keywordCheck keyword in URLs
--outputSave as XLSX
help
python url_slug_analyzer.py --help
Use cases
Technical audit
Pre-launch check
Ongoing monitoring

Run as part of a full site audit. Export issues to XLSX, prioritize by severity, and create a fix roadmap for the dev team.

Run before launching a new site or after a migration. Catch technical issues before Google crawls the new version.

Schedule regular checks and compare outputs over time. Catch regressions early.

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/url_slug_analyzer/