
robots.txt for AI Crawlers: Which Bot Is Which (2026)
November 29, 2026 · 5 min read
GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended: who runs each AI crawler, which feed search answers, and a robots.txt to copy.
A fox on a snowy two-track
By Sarah Scarano · Published
The short version
- Open your live robots.txtVisit yourdomain.com/robots.txt in a browser and read what is there now. Many sites block AI crawlers without the owner knowing.
- Decide on search and on training separatelySearch crawlers decide whether an answer engine can cite your pages. Training crawlers collect pages to train models. You can allow one and block the other.
- Allow the search crawlersGooglebot, Bingbot, OAI-SearchBot, Claude-SearchBot, PerplexityBot and Applebot. Blocking these keeps you out of the answers they feed.
- Write the file and list your sitemapCopy the template below, adjust the training section to your choice, and keep the Sitemap line.
- Check the firewall tooSome hosts and CDNs can block AI crawlers before robots.txt is ever read. Check the bot settings on your host or CDN.
- Test itReload the live file, then use the robots.txt report in Google Search Console and fetch a page with a crawler's user agent.
Your robots.txt file decides which crawlers may read your site. For years it only mattered for Google and Bing. Now a dozen AI companies send crawlers, some to build search answers that cite you and some to collect training data, and the difference matters. Block the wrong one and you can drop out of ChatGPT or Perplexity answers without noticing.
How robots.txt works
The file lives at the root of your domain, yourdomain.com/robots.txt. It holds groups. Each group names one or more user agents and the paths they may or may not crawl. The standard is RFC 9309 (Robots Exclusion Protocol).
One rule trips people up: a crawler follows only the most specific group that names it. If you write a group for GPTBot, GPTBot ignores your User-agent: * group entirely. So every named group has to carry all of its own rules.
The crawlers, by company
Each company publishes its own list. We read each one and grouped them by job.
| Company | Crawler | What it is for |
|---|---|---|
| Googlebot | Google Search, including AI Overviews and AI Mode | |
| Google-Extended | A control token, not a separate crawler: whether Google may use your pages for Gemini models. Google says it does not affect Search | |
| Microsoft | Bingbot | Bing search, which Microsoft Copilot draws on |
| OpenAI | OAI-SearchBot | Showing your site in ChatGPT search answers |
| OpenAI | GPTBot | Collecting pages to train OpenAI's models |
| OpenAI | ChatGPT-User | Visits a page when a ChatGPT user asks it to |
| Anthropic | Claude-SearchBot | Indexing for search results in Claude |
| Anthropic | ClaudeBot | Collecting pages to train Anthropic's models |
| Anthropic | Claude-User | Visits a page when a Claude user asks it to |
| Perplexity | PerplexityBot | Surfacing and linking sites in Perplexity answers |
| Perplexity | Perplexity-User | Visits a page when a Perplexity user asks it to |
| Apple | Applebot | Siri, Spotlight and Apple search features |
| Apple | Applebot-Extended | A control token: whether Apple may use your pages to train its models |
| Common Crawl | CCBot | A public web archive that many AI models are trained on |
Sources: Google's crawlers, OpenAI's crawlers, Anthropic's crawlers, Perplexity's crawlers, Applebot.
The pattern: each company separates search from training. The search crawler decides whether that engine can cite you. The training crawler does not.
Two decisions, not one
Search: for a business that wants customers, allow every search crawler. There is no upside to hiding from the engines your customers ask.
Training: this one is a real choice. Allowing training crawlers means your pages may help shape what future models know about your field and your business. Blocking them keeps your writing out of training sets from the companies that honor the request. We allow them on our own site. Plenty of publishers block them. Either is reasonable for a local business.
Template: allow everything
The simplest file, and what we run for most small business clients:
User-agent: *
Allow: /
Disallow: /admin/
Sitemap: https://www.yourdomain.com/sitemap.xml
Change /admin/ to whatever private paths your site has, or remove that line.
Template: allow search, block training
User-agent: *
Allow: /
Disallow: /admin/
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /
Sitemap: https://www.yourdomain.com/sitemap.xml
Because of the most-specific-group rule, the second group applies only to the five names in it, and every search crawler still reads the first group.
Check the firewall too
robots.txt is only read if the crawler gets through. Some hosts and CDNs, Cloudflare among them, offer settings that block AI crawlers at the network edge, whatever your robots.txt says. If you use one, open its bot settings and confirm the search crawlers are allowed.
Test it
- Load
yourdomain.com/robots.txtin a private window and read it. - In Google Search Console, open the robots.txt report to see the version Google fetched and any errors.
- Fetch a page as a crawler would. From a terminal:
curl -A "OAI-SearchBot" -I https://www.yourdomain.com/should return200. A403means something in front of the site is blocking it.
Common mistakes
- A
Disallow: /left over from when the site was in development. - A plugin that added AI crawler blocks the owner never chose.
- Blocking
ChatGPT-UserorClaude-User, which stops the assistant from reading your page even when a customer pastes your link. - A named group for one bot that forgot to repeat the
Disallowfor private paths.
Once crawlers can read the site, give them something clean to read: our LocalBusiness schema guide and llms.txt guide are the next two steps.
Put the field notes to work.
Explore our agentic websites, see the work, or talk with Sarah about your business.
- LocalBusiness Schema: A JSON-LD Block to Copy (2026)
- How to Write an llms.txt File for a Small Business (2026)
- How ChatGPT Finds Local Businesses: What Owners Can Verify
If I block GPTBot, will ChatGPT stop citing me?
Not by itself. OpenAI documents GPTBot as its training crawler and OAI-SearchBot as the crawler for ChatGPT search. To appear in ChatGPT search answers, allow OAI-SearchBot.
Does blocking Google-Extended remove me from AI Overviews?
No. Google says Google-Extended does not affect inclusion in Google Search. AI Overviews and AI Mode are part of Search and use Googlebot.
Is robots.txt enforced?
No. It is a request that well-behaved crawlers follow. The major companies document that their crawlers honor it, but to stop a crawler that ignores it you need a firewall rule.
Do I need a separate rule for every bot if I allow everything?
No. A single group for all user agents that allows everything covers them. Named groups are only needed when you treat one crawler differently.
