AI crawlers and your robots.txt
Some AI crawlers decide whether an assistant can read your site to answer questions about it. Others only collect pages to train future models. Block the first kind by mistake and you drop out of those assistants' answers. Here's which is which, from each company's own documentation, and two setups you can copy.
What robots.txt does, and what it doesn't
robots.txt is a small text file at the top of your site, at yourbusiness.com/robots.txt. It tells crawlers which parts of your site they may read. Well-behaved crawlers follow it; it isn't a lock, and it doesn't hide anything from people.
It's read in groups. Each group starts with one or more User-agent lines naming crawlers, followed by Allow and Disallow lines. A crawler follows the group that names it; only when no group names it does it follow the * group. Inside a group, the most specific matching rule wins.
Some visits don't follow it at all. When someone asks ChatGPT or Perplexity about a page, the assistant may open that page on their behalf, and both companies say those visits may not follow robots.txt, because a person asked for them.
The crawlers that matter for AI answers
| Crawler | Company | What it decides | If you block it |
|---|---|---|---|
OAI-SearchBot | OpenAI | Whether your site can show in ChatGPT's search answers. | Your site drops out of ChatGPT's search answers. |
GPTBot | OpenAI | Whether your pages may be used to train OpenAI's models. | Training only. OpenAI says it doesn't affect ChatGPT's search answers. |
Googlebot | Google Search, which Gemini and Google's AI answers search. | You leave Google Search, and with it Google's AI answers. | |
Google-Extended | Whether Gemini may use your pages to train and to ground its answers. | Gemini stops using your pages; Google says Search isn't affected. | |
Bingbot | Microsoft | Bing, which Microsoft Copilot and other assistants search. | You leave Bing, and the answers built on it. |
PerplexityBot | Perplexity | Whether your site can show and be linked in Perplexity's answers. | Your site drops out of Perplexity's answers. |
Applebot | Apple | Search in Siri, Spotlight and Safari. | You leave those Apple features. |
Applebot-Extended | Apple | Whether your pages may train Apple's models. | Training only. Apple says search results aren't affected. |
CCBot | Common Crawl | A public copy of the web that many models are trained on. | Training only. |
The short version: the first kind decides whether assistants can read your site to answer questions about it. The training kind decides whether your pages help teach future models. You can say yes to one and no to the other.
A common mistake
A site blocks "AI bots" with one switch or one plugin, and the switch covers the search crawlers too. The site disappears from ChatGPT's or Perplexity's answers, and nobody notices because Google still shows it.
The other common one is an old line left from a site's building days: User-agent: * then Disallow: /. That asks every crawler to stay away from every page. If you see it and you want to be found, it has to go.
Two sensible setups
Findable, without training
Assistants and search engines may read your site; the crawlers that only collect training data may not. Google-Extended is left out on purpose: it also decides whether Gemini can use your pages in its answers, so blocking it costs you more than training.
# Assistants and search engines may read the site
User-agent: OAI-SearchBot
User-agent: PerplexityBot
User-agent: Googlebot
User-agent: Bingbot
User-agent: Applebot
Allow: /
# Not used to train AI models
User-agent: GPTBot
User-agent: Applebot-Extended
User-agent: CCBot
Disallow: /
# Everyone else
User-agent: *
Allow: /
Sitemap: https://[yourbusiness.com]/sitemap.xml
Replace [yourbusiness.com] with your address. Keep any lines your site already needs, such as ones that hide a checkout or admin area.
Open to all
The simplest choice, and the default for most sites: every crawler may read every page.
User-agent: *
Allow: /
Sitemap: https://[yourbusiness.com]/sitemap.xml
An empty or missing robots.txt means the same thing.
How to check yours
- Open yourbusiness.com/robots.txt in your browser. No file at all means every crawler may read everything.
- Look for a group naming one of the crawlers above with
Disallow: /under it. - Look at the
User-agent: *group. It applies to every crawler that isn't named elsewhere. - Change it in your site builder's settings for search or crawlers, or in the file your web host keeps. Some builders only switch "AI crawlers" on or off as a group: check which crawlers that switch covers before you use it.
Our free AI Visibility check reads your robots.txt and tells you which crawlers it blocks, with the lines to add.
Sources
Checked on November 22, 2026.
- OpenAI, Overview of OpenAI crawlers
- Google Search Central, Google's common crawlers (Googlebot and Google-Extended)
- Perplexity, Perplexity crawlers
- Apple, About Applebot
- RFC 9309, Robots Exclusion Protocol
The crawler and product names belong to their companies, which aren't affiliated with VerifiedHive.