HolicAudit

Guides · HolicAudit

Should you block GPTBot in robots.txt?

Published 2 November 2026

In short: blocking training crawlers like GPTBot keeps your content out of future model training but doesn't remove you from AI search. Blocking search crawlers like OAI-SearchBot or PerplexityBot does. Decide separately for each group, then check your CDN isn't blocking them for you.

Two kinds of AI crawler

User agentCompanyUsed for
OAI-SearchBotOpenAIChatGPT search results and citations
ChatGPT-UserOpenAIPages ChatGPT opens because a user asked; OpenAI says robots.txt may not apply
Claude-SearchBotAnthropicClaude search results
PerplexityBotPerplexityPerplexity's search index
GPTBotOpenAITraining OpenAI models
ClaudeBotAnthropicTraining Anthropic models
Google-ExtendedGoogleA control token for Gemini training and grounding; no separate crawler, and it doesn't affect Google Search
Applebot-ExtendedAppleA control token for Apple model training; doesn't affect Apple search features
CCBotCommon CrawlA public web archive that many AI models are trained on
BytespiderByteDanceTraining ByteDance models

OpenAI states that its settings are independent: you can allow OAI-SearchBot to appear in ChatGPT search while disallowing GPTBot. Google AI Overviews use regular Googlebot, so Google-Extended doesn't remove you from them.

Reasons to block training crawlers

Reasons to allow them

Copy-paste rules

Allow AI search, block training (a common middle ground):

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: CCBot
User-agent: Bytespider
Disallow: /

User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml

Remember how groups work: a crawler that matches a named group ignores the * group entirely. If your * group disallows /admin/, repeat that line in every named group too.

robots.txt is a request, not a wall

The major AI companies say their crawlers respect robots.txt, but it's voluntary and doesn't stop scrapers that ignore it. For real control, use your CDN's bot management or firewall rules. Many CDNs now offer one-click AI crawler blocking, which works the other way too: if you want AI search traffic, make sure that setting isn't quietly blocking the search crawlers you just allowed.

Check what your site allows

Our AI visibility check reads your robots.txt the way crawlers do (most specific group, longest matching rule) and lists every crawler above as allowed or blocked for the page you enter. For general robots.txt testing, use the robots.txt checker.

Free tool: AI visibility check

Can ChatGPT, Perplexity, Claude and Google AI Overviews read and cite your page? Checks AI crawler rules, llms.txt, server-rendered text and structured data.

Run the free check

Frequently asked questions

Does blocking GPTBot hurt my Google rankings?

No. GPTBot is OpenAI's crawler and has nothing to do with Google Search. Google-Extended doesn't affect Google Search rankings either.

If I block GPTBot, will ChatGPT stop mentioning my site?

Not from search. ChatGPT search uses OAI-SearchBot, which is a separate setting. Answers that come from the model's built-in knowledge may know less about you over time.

How quickly do changes take effect?

OpenAI says ChatGPT search can take about 24 hours to reflect a robots.txt change. Google usually caches robots.txt for up to a day.

Do all AI crawlers obey robots.txt?

The big named crawlers say they do. Unknown scrapers may not, so use firewall or CDN bot rules if you need enforcement.