Home / Guides / robots.txt and AI Crawlers: Is Your Website Blocking ChatGPT?

Guide

robots.txt and AI Crawlers: Is Your Website Blocking ChatGPT?

To appear in ChatGPT search answers, allow OAI-SearchBot in robots.txt. OpenAI treats it separately from GPTBot, which collects content for training, so you can allow one and block the other. Keep Googlebot and Bingbot allowed too, and check that your host or firewall is not blocking them.

Document beside a shield and a search magnifier

Search crawlers and training crawlers are different

Name in robots.txtCompany and purpose
GooglebotGoogle: Google Search, including its search features, and products such as Google Images
Google-ExtendedGoogle: Training Google’s AI models and grounding in products outside Search. It does not affect Search inclusion or ranking
BingbotMicrosoft: Bing’s standard search crawler
OAI-SearchBotOpenAI: Showing websites in ChatGPT search
GPTBotOpenAI: Content that may be used to train models
ChatGPT-UserOpenAI: Visits a user asks for. robots.txt rules may not apply
PerplexityBotPerplexity: Showing and linking websites in Perplexity search
Perplexity-UserPerplexity: Visits a user asks for. Generally ignores robots.txt
Claude-SearchBotAnthropic: Improving search results for Claude users
Claude-UserAnthropic: Visits made when a Claude user asks a question
ClaudeBotAnthropic: Content that could be used to train models
ApplebotApple: Search in Spotlight, Siri and Safari. Apple may also use the content for training
Applebot-ExtendedApple: Opting out of that training use

To manage whether your content appears in AI Overviews and AI Mode, Google points to the Search generative AI control in Search Console, not to Google-Extended.

Search, training and user-requested visits shown as icons

The grouping mistake to avoid

A crawler follows the group that names it most specifically and ignores the others. Google states that rules for a named crawler are not combined with the general User-agent: * rules.

So if you add a group just for OAI-SearchBot, that crawler stops reading your general rules, including any areas you meant to keep it out of. Either leave a search crawler under *, or repeat the rules it should follow inside its own group.

Apple adds a twist: if your file does not mention Applebot but does mention Googlebot, Applebot follows the Googlebot rules.

Unsure whether search and AI crawlers can reach your site? Start with a free Digital Presence Check, or read about the search visibility and AI SEO audit.

A simple example

This version lets search crawlers use the general rules and turns away four training and AI-use names:

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

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

Sitemap: https://www.example.co.uk/sitemap.xml

Change the sitemap address to your own. Delete the middle group if you are happy for your content to be used that way. Blocking Google-Extended also stops grounding in some Google AI products outside Search, so decide what matters to you before copying it.

Steps to check the file, the firewall and the logs

Check your own site

  1. Open yourdomain.co.uk/robots.txt in a browser.
  2. Look for Disallow: / under * or under any search crawler you want to allow.
  3. Check the bot, firewall and security settings in your host, content delivery network and WordPress plugins. A permitted crawler can still be refused by a firewall.
  4. Ask your host to check the server logs for refused requests. A user agent name can be faked, so they should confirm real crawlers using the addresses each company publishes.
  5. Allow time after a change. Google generally caches the file for up to 24 hours, and OpenAI says its search systems take about 24 hours to adjust.

Once crawlers can get in, give them accurate facts to read: see Bing Places and Apple Business setup and whether you need an llms.txt file.

Frequently asked questions

If I block GPTBot, will I disappear from ChatGPT search?

Blocking GPTBot does not do that. OpenAI says the two settings are independent, and OAI-SearchBot is the one used for search.

Does blocking Google-Extended affect my Google ranking?

No. Google says it does not affect inclusion in Google Search and is not a ranking signal.

Can robots.txt stop every AI visit?

No. OpenAI and Perplexity say that visits requested by a user may not follow robots.txt rules.

Sources

Sam, Editor at Clariti Digital

Sam, Editor at Clariti Digital.

Need help with this?

Clariti Digital is a UK digital growth agency for established local businesses. We start with a diagnostic, then fix what holds back visibility, enquiries and trust. Call +44 7435 063827, message us on WhatsApp or email sam@claritidigital.com.