Sign inGet started
Answers

How do I block AI training but stay in ChatGPT search?

View as MarkdownOpen in ChatGPTOpen in Claude
Connect your agent
Add to CursorAdd to VS Code

Disallow the training crawlers in robots.txt and leave the search crawlers allowed: GPTBot out, OAI-SearchBot in.

Updated

Disallow the training crawlers in robots.txt and leave the search crawlers alone. For OpenAI, block GPTBot and keep OAI-SearchBot allowed: OpenAI says each setting is independent, and blocking OAI-SearchBot is what takes you out of ChatGPT search.

How do you do it?

  1. Add User-agent: GPTBot with Disallow: / to robots.txt.
  2. Leave OAI-SearchBot allowed.
  3. Do the same per owner: ClaudeBot, Google-Extended, Applebot-Extended, CCBot.

What can you ask your agent?

  • "Which AI crawlers still read the site after the robots.txt change?"

Next steps