Directive analysis
Review user-agent groups, Allow, Disallow, sitemap references, and directive placement.
Inspect robots.txt syntax, user-agent groups, Allow/Disallow directives, sitemap references, duplicate entries, and common crawl-control mistakes.
Review user-agent groups, Allow, Disallow, sitemap references, and directive placement.
Inspect response status, final URL, and content type.
Identify duplicates, invalid sitemap URLs, non-standard directives, and informational unknown directives.
Produce machine-readable output for scripts and automated workflows.
Get the source ZIP or clone the repository.
Python 3.10+ is required; no third-party runtime package is needed.
Use a site origin, robots.txt URL, or local robots.txt file.
The tool reports observable syntax and HTTP conditions; crawler implementations can differ.
python robots_txt_checker.py https://example.compython robots_txt_checker.py https://example.com/robots.txtpython robots_txt_checker.py ./robots.txtpython robots_txt_checker.py https://example.com --jsonIt does not guarantee rankings, indexing, traffic, search visibility, or search-engine decisions. Evaluate findings against the actual website, evidence, current authoritative documentation, and project context.