All Tools Full Site Audit

Robots.txt Generator

Build a valid robots.txt with user-agent rules, sitemap links, and crawl directives.

One sitemap URL per line
0 rules Ready

                
⚡
AI bots have their own user-agents
GPTBot (OpenAI), Google-Extended (Gemini), Anthropic-AI (Claude), and CCBot (Common Crawl) each have dedicated user-agent strings. You can selectively block AI training crawlers while keeping search bots allowed — granular control matters.
✓
Blocking AI crawlers ≠ blocking AI citations
If your content is already indexed by search engines, AI answer engines can still cite it via search APIs (like Google's Grounding API). Robots.txt controls crawling, not citation. To actually control AI usage, combine robots.txt with meta robots and data-noai headers.
ℹ
Sitemap lines help AI engines too
AI crawlers read the Sitemap directive in robots.txt to discover content efficiently. Listing your sitemaps here is a low-effort signal that improves discoverability across both traditional search and AI-powered engines.
⚡
Crawl-delay is respected differently
Google ignores Crawl-delay (use Search Console instead), but Bing, Yandex, and most AI crawlers honor it. If your server is under load from AI bots, adding a crawl-delay for their user-agents is a practical throttle.
Robots.txt controls who crawls your site. PatchMySEO tracks who actually cites it. Try free audit →