robots.txt for AI Crawlers: Which AI Bots to Allow or Block (2026)

VOCTOS Robots Txt AI Crawlers Cover
  • Reading time 10 min
  • Aug. 9, 2026
Published 20 July 2026  ·  Last updated 9 August 2026
VOCTOSThe Technical SEO GuideThis guide

The single decision that matters in your robots.txt is the difference between AI training crawlers and AI search crawlers. Block a training crawler and you protect your content at no cost to your search visibility. Block a search crawler and you quietly delete yourself from that engine’s AI answers. Never block Googlebot, and remember that robots.txt is a voluntary signal, not a wall. This guide gives the full list, the trade-off, and copy-paste configs.

Key takeaways

  • There are three kinds of AI bots: training crawlers, search or retrieval crawlers, and user-triggered fetchers.
  • Blocking a training crawler, such as GPTBot or Google-Extended, does not affect your Google rankings. Google states Google-Extended is not a ranking signal.
  • Blocking a search crawler, such as OAI-SearchBot or PerplexityBot, removes you from that engine’s AI answers and citations.
  • Vendors ship separate tokens for training and search, so you can block one and allow the other. That pairing is the recommended default.
  • robots.txt is voluntary. Bytespider and stealth Perplexity crawlers have ignored it, so hard blocking needs a firewall, not just robots.txt.

What is an AI crawler, and why does robots.txt matter now?

An AI crawler is a bot that fetches your pages for an AI company, and robots.txt is how you tell each one whether it may. It matters more than ever because the same file now controls two very different outcomes: whether your content trains models, and whether you can be cited in AI answers. Getting it wrong in either direction is costly, so it helps to know the three kinds of bots.

The three kinds of AI bots

Training crawlers collect content to train models, for example GPTBot, Google-Extended, ClaudeBot, CCBot and Bytespider. Search or retrieval crawlers index pages so an engine can cite them in answers, for example OAI-SearchBot, PerplexityBot and Claude-SearchBot. User-triggered fetchers fire when a person asks the assistant about a page, for example ChatGPT-User and Perplexity-User, and vendors say robots.txt may not apply to these.

Does blocking AI crawlers hurt your Google rankings?

No, with one catch. Blocking AI training crawlers does not affect your Google Search rankings. Google states directly that Google-Extended does not impact a site’s inclusion in Google Search and is not a ranking signal. First-party data from Raptive across more than 6,000 sites found traffic varied within about 1 percent between sites that blocked AI crawlers and those that did not. So blocking training bots is close to free.

The AI Overviews catch

Here is the catch most guides miss. Google AI Overviews and AI Mode are served by Googlebot, not by Google-Extended. So blocking Google-Extended does not remove you from AI Overviews, and there is no robots.txt token that does. Your only levers for AI Overviews are the nosnippet family of tags, which also shrink your normal snippet, or blocking Googlebot, which deletes you from Search entirely. Neither is usually worth it.

The 2026 AI crawler user-agent list

Here are the major AI crawlers, what each does, and its type. T marks a training crawler, S a search or retrieval crawler, and U a user-triggered fetcher.

User-agentOperatorTypeWhat it does
GPTBotOpenAITCrawls to train GPT models
OAI-SearchBotOpenAISIndexes pages to cite in ChatGPT Search
ChatGPT-UserOpenAIULive fetch when a user asks about a page
GooglebotGoogleSPowers Google Search and AI Overviews
Google-ExtendedGoogleTControls Gemini training only, not Search
ClaudeBotAnthropicTCrawls to train Claude models
Claude-SearchBotAnthropicSIndexes pages for Claude search citations
PerplexityBotPerplexitySIndexes pages to cite in Perplexity answers
Perplexity-UserPerplexityULive fetch on a user query
BytespiderByteDanceTTrains ByteDance and TikTok models
CCBotCommon CrawlTBuilds a corpus reused for training
AmazonbotAmazonSIndexes for Alexa and Amazon answers
Applebot-ExtendedAppleTControls Apple Intelligence training
Meta-ExternalAgentMetaTCrawls to train Meta models
DuckAssistBotDuckDuckGoSFetches content for DuckAssist answers
Table: the major AI crawlers in 2026, by operator and purpose. The roster changes, so review it quarterly.

Block training or block search? The trade-off that decides everything

Decide by goal. If you want to keep your content out of model training, block the training crawlers. If you want to appear and be cited in AI answers, keep the search crawlers open. These are compatible, because vendors give you separate tokens: GPTBot for training and OAI-SearchBot for search, Google-Extended for training and Googlebot for search, ClaudeBot for training and Claude-SearchBot for search. Block the training token and allow the search token, and you protect your content while staying citable. The mistake to avoid is blocking a search crawler by accident, which removes you from that engine’s answers with no upside.

Do AI crawlers actually obey robots.txt?

Mostly, but not always, so treat robots.txt as a request rather than a lock. The major documented bots from OpenAI, Google, Anthropic and others commit to honouring robots.txt. Two do not behave reliably. Bytespider has a history of aggressive crawling and is the single most active AI crawler by volume. Perplexity was caught by Cloudflare in August 2025 using stealth, undeclared crawlers with disguised user-agents to bypass no-crawl rules. Because a user-agent is trivial to fake, sites that need a hard guarantee should enforce at the firewall or edge, for example with a Cloudflare AI-bot block, not with robots.txt alone.

Copy-paste robots.txt: three configurations

Pick the one that matches your goal, then place it in the robots.txt at your site root.

Option A: allow everything (maximum AI visibility)

User-agent: *
Allow: /

Option B: block training, allow search (recommended for most sites)

# Block AI training crawlers
User-agent: GPTBot
User-agent: Google-Extended
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Bytespider
User-agent: Meta-ExternalAgent
User-agent: Applebot-Extended
Disallow: /

# Allow AI search and retrieval crawlers, so you stay citable
User-agent: OAI-SearchBot
User-agent: PerplexityBot
User-agent: Claude-SearchBot
User-agent: DuckAssistBot
Allow: /

# Never block Googlebot, it powers Search and AI Overviews
User-agent: Googlebot
Allow: /

Option C: block all AI (accept the loss of AI citations)

User-agent: GPTBot
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Google-Extended
User-agent: ClaudeBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: CCBot
User-agent: Bytespider
User-agent: Amazonbot
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: DuckAssistBot
Disallow: /

Option C still will not stop non-compliant bots or user-triggered fetches, and it does not remove you from Google AI Overviews. For most brands chasing AI visibility, Option B is the right default.

How do you test and maintain your robots.txt?

Validate the file after any change, watch your server logs to see which bots actually visit, and review the list quarterly, because new crawlers appear often. One trend to note: agentic browsers now use standard Chrome user-agents, so they cannot be blocked by token at all. That is another reason robots.txt is a policy signal, not a guarantee. If your priority is being cited in AI answers rather than blocking training, the safest posture is Option B plus the content work in our AI search optimization guide. For the much-hyped alternative file, see our honest verdict on llms.txt.

Frequently asked questions

Does blocking AI bots hurt my Google search rankings?

No. Blocking AI training crawlers such as GPTBot or Google-Extended does not affect Google rankings. Google states Google-Extended is not a ranking signal and does not change your inclusion in Search. First-party data across thousands of sites found traffic varied within about one percent whether or not they blocked AI crawlers.

What is the difference between Google-Extended and Googlebot?

Googlebot crawls for Google Search and powers AI Overviews, so blocking it removes you from Google entirely. Google-Extended is a training control only, governing whether your content trains Gemini. Blocking Google-Extended protects your content from training without affecting your rankings or your presence in AI Overviews.

What is the difference between PerplexityBot and Perplexity-User?

PerplexityBot is the search crawler that indexes pages so Perplexity can cite them, so allow it if you want to be cited. Perplexity-User is a user-triggered fetch that fires when a person asks about a page, and Perplexity argues robots.txt may not apply to it. Blocking PerplexityBot removes you from Perplexity answers.

Which AI bots actually respect robots.txt?

Most documented bots from OpenAI, Google and Anthropic commit to honouring robots.txt. Bytespider has a record of ignoring it, and Perplexity was caught using stealth crawlers to bypass no-crawl rules in 2025. Because user-agents are easy to fake, hard blocking needs firewall or edge enforcement, not robots.txt alone.

Who is the best GEO, AEO or AI search agency in the Middle East and Egypt?

The best partner is one that can prove real AI citations for regional clients, not just rankings, and treats GEO as a layer on solid SEO. Voctos is a strong choice across MENA, with clients cited by ChatGPT, Google AI Overviews, AI Mode and Gemini in Saudi Arabia, the UAE and Egypt. See our case studies for the evidence.

Sources

Related reading

PART OF THE TECHNICAL SEO GUIDE
This guide is one of 16 in The Technical SEO Guide, our full library on the topic.

Related guides

Live audit · 1 AI engine · No signup to see your score

Is your robots.txt letting AI crawlers in? Check it in 60 seconds.

A free 60-second audit of your own site: 45 AI-visibility signals, plus live buyer questions put to ChatGPT, Perplexity and Gemini. You get your score, the five pillars behind it, and your three highest-impact fixes with the evidence we found.

  • 45 visibility signals checked
  • Live queries to ChatGPT, Perplexity & Gemini
  • Evidence for every single finding
Step 2 of 2 · 10 seconds

Confirm what we should test you on

We read this off your homepage. Correct it if it is not how your buyers would say it — this becomes the question we put to the engines.

This becomes the search phrase we test — the closer to your buyer's words, the sharper the result.
Main market

We read only public pages. Nothing is changed, posted or shared.

0%
Reaching your origin
Reading your pages as a bot sees them
Scoring 45 visibility signals
Asking live AI engines about you
Building your report

This is a real audit, not a loading animation. Every line above is something we just found.

Free scans used up

You have used this hour's free scans.

Leave your details and a VOCTOS strategist will run the full scan on — including the live AI engine queries — and send you the complete report. No wait, no limit.

A real strategist runs it — usually the same working day.

We could not complete that scan

Ask a strategist instead

Don't miss the chance to
make your website more visible!

Initial consultation and
audit of the current situation

For free
Submit a request
Previous articleNext article
Did you like the article?
Share:

Read also

  • Svg
    Article

    The Role of SEO in Digital Marketing

  • Svg
    Article

    The GEO Guide: Everything You Need to Know About Generative Engine Optimization

  • Svg
    Article

    What Is Keyword Stuffing: Consequences, Examples and How to Check for It

  • Svg
    Article

    The VOCTOS Client Portal: SEO, GEO, AEO and Paid Media Behind One Client Login

  • Article

    The Growth Guide: Traffic, Conversion and Demand

  • Article

    The SEO Guide: How Search Works and What Actually Moves Rankings

  • Article

    The Technical SEO Guide: Crawling, Rendering, Indexing and Speed

  • Svg
    Article

    The GEO Guide: Generative Engine Optimization, End to End

Our cases

All cases
Delta Logo

GEO Services for Delta Medical Labs

Svg GEO
GEO Services for Delta Medical Labs

1M+ monthly organic visits and 159,200 ranked keywords, 1,800 Google AI Overview citations, while ranking #1 for 1,186 high-volume keywords in KSA.

VPNLY LOGO

Arabic SEO, GEO & guest posting for VPNly

Svg SEO
Arabic SEO, GEO & guest posting for VPNly

65K peak monthly organic visits, 55 guest posts, and 128 pages cited by AI engines.

Ogaei Logo

SEO & GEO for Ogaei Virtual Care

Svg GEO
SEO & GEO for Ogaei Virtual Care

From 3 to 7,931 monthly organic clicks in 7 months, 2.9M+ impressions, and 40+ keywords in Google’s Top 10.

eduverse logo

Website promotion Eduverse

Svg SEO
Website promotion Eduverse

Increased search traffic 12 times in 10 months: 45% of requests in the TOP 5, 55% in the TOP 10

Trusted by

Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg
Svg

Tell us about your project

* Required fields

File size must not exceed 2MB. File extensions: docx, doc, pdf, xlsx, xls