Robots.txt Generator
Report Issue
Found an issue or calculation bug in Robots.txt Generator? Send a report with your device diagnostics included so we can resolve it quickly.
Device Info IncludedAuto-detected
OS: Detecting...
Browser: Detecting...
Screen: --
Viewport: --
To: support@toolslash.com
Guide
Robots.txt Directives Guide
The robots.txt file guides search engine spiders and web crawlers on which site directories they may crawl and index.
Standard Syntax
User-agent: *
Disallow: /admin/
Allow: /public/
Sitemap: https://example.com/sitemap.xml
Frequently Asked Questions
- Where should robots.txt be uploaded?
- Upload it to the root directory of your web host so it is accessible at yourdomain.com/robots.txt.
- How do I block AI scrapers?
- Add User-agent disallow blocks for crawlers like GPTBot, ClaudeBot, and CCBot.