AI search crawler access in robots.txt

Which robots.txt rules keep you out of ChatGPT search, Perplexity and Claude, and how to allow AI search while blocking AI training.

What AuditX checks

The scan reads your robots.txt and checks whether it blocks the user agents AI assistants use when they fetch pages live to answer a question: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, PerplexityBot, Perplexity-User and Applebot.

Why it matters

AI search tools can only cite a page they are allowed to fetch. A rule that blocks their crawler, often added by a security plugin or copied from a template, keeps you out of their answers.

Training crawlers are a separate question. GPTBot, ClaudeBot and Google-Extended collect data to train models. You can block those and still allow the search crawlers, and the scan checks the two groups separately.

How to fix it

  1. Open yourdomain.com/robots.txt and look for Disallow rules under the AI search user agents, or a User-agent: * block with Disallow: /.
  2. Remove the rules for the search crawlers you want to be found by.
  3. If you want to opt out of training, block only the training user agents.
  4. Check your CDN or firewall too: some block AI user agents before robots.txt is even read.
# Allow AI search, opt out of AI training
User-agent: OAI-SearchBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: Google-Extended
Disallow: /

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.