Robots.txt Generator
Build compliant robots.txt files with custom user-agents, disallow rules, and sitemap directives.
User-agent: * Disallow: /admin/ Disallow: /private/ Disallow: /api/ Allow: /public/ Allow: /static/ Sitemap: https://example.com/sitemap.xml
How to Use Robots.txt Generator
Select target search bots (All Bots, Googlebot, Bingbot, AI Scrapers).
Specify paths to disallow (e.g. `/admin/`, `/private/`) or allow.
Add your XML sitemap URL and download or copy the valid `robots.txt` output.
Frequently Asked Questions
Q.Where should the robots.txt file be located?
It must always be placed at the absolute root of your domain (e.g. `https://yourdomain.com/robots.txt`).
Related Technical SEO Tools
Robots.txt Tester
Test specific URL paths against robots.txt directives to verify whether search bots are allowed or blocked.
Canonical Tag Checker
Audit rel="canonical" links, prevent duplicate content loops, and verify protocol and slash consistency.
Hreflang Tag Generator
Generate multi-language and multi-region hreflang annotations with ISO codes and x-default.
Hreflang Validator
Validate hreflang tags for bidirectional return links, valid ISO 639-1 language codes, and formatting.