Googlebot

AI search indexer

Google's main search crawler. Included here because content indexed by Googlebot also powers AI Overviews and AI Mode in Google Search. There is no separate crawler or opt-out token for those features beyond standard Search controls.

OperatorGoogle
TypeAI search indexer
Respects robots.txtYes (documented)
DocumentationOfficial operator documentation

What Google documents about Googlebot

  • Googlebot crawls as Googlebot Smartphone and Googlebot Desktop. The Chrome version in the user agent changes over time, so match on the Googlebot token.
  • Rules for the Googlebot token affect Google Search, including Discover and all Search features, plus Google Images, Video mode and Google News.
  • To check that a request is really Googlebot, Google says the reverse DNS name of the IP matches crawl-***-***-***-***.googlebot.com or geo-crawl-***-***-***-***.geo.googlebot.com.

Checked against the Google documentation on 12 November 2026.

Googlebot and other Google bots

Google runs 4 bots and controls in this directory, each with its own robots.txt rule: Google-Extended (AI training crawler), Googlebot (AI search indexer), Google-Agent (AI assistant fetcher), Google-CloudVertexBot (AI assistant fetcher). Allowing or blocking one does not change the others.

BotTyperobots.txt tokenRespects robots.txt
Google-ExtendedAI training crawlerGoogle-ExtendedYes (documented)
GooglebotAI search indexerGooglebotYes (documented)
Google-AgentAI assistant fetcherGoogle-AgentPartially
Google-CloudVertexBotAI assistant fetcherGoogle-CloudVertexBotYes (documented)

Googlebot user-agent string

This is how Googlebot identifies itself in your server logs:

Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

How to block Googlebot in robots.txt

Add this to the robots.txt file at the root of your site:

Block Googlebot

User-agent: Googlebot
Disallow: /

Explicitly allow Googlebot

User-agent: Googlebot
Allow: /

What blocking changes: Blocking Googlebot removes you from Google Search entirely, including AI Overviews. For almost every site this costs far more traffic than it protects. Use Google-Extended (training) or nosnippet/noindex controls instead.

Want to decide for all AI bots at once? Use the AI robots.txt generator.

How to whitelist Googlebot

To whitelist Googlebot, add "User-agent: Googlebot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then allow the IP ranges the operator publishes at https://developers.google.com/static/crawling/ipranges/common-crawlers.json in your firewall, WAF or CDN, so firewall rules do not turn it away. Matching on IP is safer than matching on the user agent, which anyone can fake.

  1. In robots.txt, add a User-agent: Googlebot group with Allow: /, and check that no broader User-agent: * rule or other group disallows the paths you want crawled.
  2. In your firewall, WAF or CDN bot settings, allow the IP ranges Google publishes at developers.google.com/static/crawling/ipranges/common-crawlers.json. The list changes, so load it from that URL rather than copying the ranges once.
  3. On Cloudflare, add those ranges to an IP list (for example one named googlebot). Under Security rules, create a custom rule with the expression ip.src in $googlebot, choose the Skip action and select what it skips, such as all Super Bot Fight Mode rules and all rate limiting rules. Cloudflare notes that a skip rule cannot skip Bot Fight Mode, the bot setting on the Free plan. The list does not follow the URL by itself, so update it whenever the ranges published there change.
  4. Check your server logs for Googlebot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.

Other ai search indexers

Is AI sending you visitors?

Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.

See your AI traffic