One old Disallow rule can keep your site out of AI search. Here is how to check.
Disclosure: I'm the founder of Jeevan AI, and one of our free tools appears below.
Training, search and user fetches are different
Vendor
OpenAI
Training
GPTBot
Search
OAI-SearchBot
User-triggered
ChatGPT-User
Anthropic
ClaudeBot
Claude-SearchBot
Claude-User
Perplexity
Not covered here
PerplexityBot
Perplexity-User
• OpenAI: you can allow OAI-SearchBot while disallowing GPTBot. However, robots.txt rules may not apply to ChatGPT-User. (docs) (suno) (openai)
• Anthropic: blocking one bot doesn't block the others. (docs) (searchengineland)
• Perplexity: its user-triggered fetcher generally ignores robots.txt rules. (docs) (perplexity)
Google-Extended is different: it is not a crawler. It controls Gemini training and grounding, and blocking it does not opt you out of AI Overviews or AI Mode. (temso) (anglera)
Sample: allow AI search, block training
User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /
Disallow: /admin/
User-agent: *
Disallow: /admin/
Sitemap: https://example.com/sitemap.xml
Common mistakes
- Assuming * rules are inherited. A crawler with its own group follows that group, not the * group. Repeat private paths in both.
- Leaving a staging Disallow: / in production.
- Forgetting subdomains. Each needs its own robots.txt.
- Ignoring the firewall. Your CDN or WAF can block a bot that robots.txt allows. Check server logs for 403s.
- Treating robots.txt as security. Use authentication for private content.
Check it with Python
from urllib.robotparser import RobotFileParser
SITE = "https://example.com"
BOTS = ["GPTBot", "OAI-SearchBot", "ClaudeBot",
"Claude-SearchBot", "PerplexityBot"]
rp = RobotFileParser(SITE + "/robots.txt")
rp.read()
for bot in BOTS:
status = "allowed" if rp.can_fetch(bot, SITE + "/") else "BLOCKED"
print(f"{bot:18} {status}")
This tests only the homepage. Python's parser can also differ from crawler behaviour on wildcards and rule precedence.
Check it without code
Paste your file into the free AI crawler robots.txt checker. It shows allow or block status for crawlers including GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot. Check Claude-SearchBot and user-triggered agents manually.
Access is only step one
Allowing a crawler does not guarantee a citation. Next:
• Run an AI-readiness page analysis on key pages.
• Learn how schema markup relates to AI visibility.
• Considering llms.txt? Read whether llms.txt works first.
• Still missing from answers? See why a brand may not show up in chatgpt