Should AI bots read my site? What to allow and block for ChatGPT, Perplexity and Claude in robots.txt
For most businesses, yes. Training bots and answer bots differ. Which to allow, which to block, a sample robots.txt and what to do about bots that ignore it.


Yes, for most businesses. But the bots AI companies send to your site are not all the same. Some collect data to train a model. Others open your site while answering someone's question, and show you as a source. Block the second kind and ChatGPT, Claude or Perplexity cannot mention you when a customer asks. Our advice: leave search engines like Google fully open, let answer bots read your page text, and decide on training based on what your content is. If you want to protect your photos or PDF catalogues, block only those folders.
What is the difference between a training bot and an answer bot?
A training bot takes your page and adds it to the training data of a future model. It brings no visitors and no links. A search bot adds your site to that company's own search index. When ChatGPT searches the web or someone asks Perplexity a question, the sources under the answer come from this index. A user bot opens your page on the spot, when someone asks a question in a chat or pastes a link.
The three big companies do these jobs under separate names. The table comes from each company's own bot documentation, as of November 2026:
| Company | Training | Search | User request |
|---|---|---|---|
| OpenAI (docs) | GPTBot | OAI-SearchBot | ChatGPT-User |
| Anthropic (docs) | ClaudeBot | Claude-SearchBot | Claude-User |
| Perplexity (docs) | none listed | PerplexityBot | Perplexity-User |
Perplexity says neither of its bots collects content for training foundation models. OpenAI says each setting is independent of the others. So you can block GPTBot and still allow OAI-SearchBot. If you allow both, OpenAI may use one crawl for both purposes.
What about Google, Apple and Amazon?
These three work a little differently. Two of the names below are not crawlers at all, only a permission signal.
- Google-Extended: According to Google, it is not a separate bot. Crawling is still done by Google's usual bots. If you block Google-Extended, your content is not used to train future Gemini models. The Gemini app pulling content from the search index while it answers (Google calls this "grounding") also depends on this signal. It does not touch your place in Google Search, and it is not a ranking signal. AI Overviews and AI Mode are controlled by a Search Console setting, not by this signal. We covered that in a separate note.
- Applebot-Extended: According to Apple, this name does not crawl pages either. If you block it, Apple does not use your content to train its foundation models. Applebot keeps crawling for search in Siri, Spotlight and Safari, and your site keeps showing up there.
- Amazonbot: According to Amazon, it crawls to improve Amazon's products and services, and the data it collects may be used to train Amazon's AI models. Search in Alexa has its own bot, Amzn-SearchBot, which does not crawl for training.
Should I allow training?
It depends on what your content is. If you sell products or services, having your pages used to train a model costs you very little. If the model knows your brand and product names, that can even count as a gain. It is different when the content itself is what you sell: paid guides, photos you shot yourself, technical documents you built up over years. That is your work, and blocking training makes sense.
One more thing to know. Blocking does not erase the past. Anthropic says so plainly: a block is a request that the site's future content be left out of training data.
Why should I let answer bots in?
Because some of your customers now ask ChatGPT, Claude or Perplexity instead of Google. The answer is built from the sites in these companies' search indexes. The companies say so themselves. OpenAI writes that sites blocking OAI-SearchBot do not appear in ChatGPT's search answers. Anthropic says blocking Claude-User may reduce your visibility in searches a user starts. Perplexity recommends allowing PerplexityBot if you want to appear in its results.
We explained how to measure these visits in our note on traffic from ChatGPT and Gemini.
How do I block photos and PDFs?
If you want the page text open but the folder that holds your photos or PDF catalogues closed, you add a Disallow line for that folder in robots.txt. There are two traps here.
First, do not block Google. Google Shopping fetches product images with Googlebot-Image. Merchant Center's help page asks for both Googlebot and Googlebot-Image to be allowed in robots.txt. Block the folder under User-agent: * and you have blocked Google too.
Second, once you write a section for a bot by name, that bot stops reading the * section. The robots.txt standard (RFC 9309) defines it this way: a bot follows the sections that name it and falls back to * only if its name appears nowhere. If you keep places like an admin panel closed under *, repeat those lines in the section of every bot you name.
A sample block. Replace /product-assets/ with your own folder:
# Search engines: everything open
User-agent: *
Allow: /
# Model training: blocked. Delete this section if you do not mind.
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Amazonbot
Disallow: /
# AI search and answer bots: text open, image and PDF folder closed
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Disallow: /product-assets/
Sitemap: https://yoursite.com/sitemap.xml
If you also want to be a source in Gemini's answers, delete the Google-Extended line. As explained above, that signal also stops Gemini from using your content when it answers. Changes do not apply at once. OpenAI says search results take about 24 hours to reflect them, and Perplexity and Amazon also say up to 24 hours.
Do bots actually follow robots.txt?
robots.txt is a request, not a lock. RFC 9309 states plainly that its rules are not a form of access authorization. Google says the same in its robots.txt guide: the file cannot force a crawler, obeying it is up to the crawler.
The companies' own statements do not match each other either:
- Anthropic says all three of its bots honor robots.txt, Claude-User included.
- OpenAI describes controlling GPTBot and OAI-SearchBot with robots.txt. For ChatGPT-User, it says that because a user starts the action, robots.txt rules may not apply.
- Perplexity says plainly that Perplexity-User generally ignores robots.txt. For PerplexityBot there is no separate "it complies" sentence, only a recommendation to allow it in robots.txt.
- Apple says Applebot respects robots.txt. Amazon says the same for Amazonbot, but adds that its user bot, Amzn-User, may not follow every rule.
So the folder rule in the sample stays a request for ChatGPT-User and Perplexity-User. If you really want that folder closed, put the rule on your server or CDN: a rule that looks at the bot's user agent and refuses requests to that folder. A user agent can be faked. That is why OpenAI, Anthropic and Perplexity also publish their bots' IP addresses in their documentation. A good rule checks the user agent and the IP together. We set this rule up alongside robots.txt as part of technical SEO work.
Apply the rule to the folder, not the whole site. Anthropic explains why: if you block its bot by IP entirely, it cannot read your robots.txt either and never sees your preference. If you use Cloudflare, it has ready-made settings for this, which we covered in our Cloudflare note.