What this tool does
Configure allow and disallow rules per user-agent, add sitemap URLs, and generate a correctly formatted robots.txt. Copy the output to your domain root (/robots.txt).
Common patterns
Block private directories from all bots:
User-agent: *
Disallow: /admin/
Disallow: /private/
Block AI training crawlers:
User-agent: GPTBot
Disallow: /
User-agent: anthropic-ai
Disallow: /
Verify your robots.txt after uploading using Google Search Console’s robots.txt tester.