Googlebot user agent
Key Takeaways
- Googlebot is Google's main crawler that indexes pages for Google Search, including AI Overviews and AI Mode.
- Googlebot uses the operator-documented robots.txt token Googlebot.
- Googlebot has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.
Operated by Google
Googlebot is Google's main crawler that indexes pages for Google Search, including AI Overviews and AI Mode.
What identifies Googlebot?
| Identifier | Googlebot |
|---|---|
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
| Recorded User-Agent sample | 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) |
What is Googlebot?
Googlebot crawls pages with a smartphone and a desktop user agent to build the Google Search index. Google’s AI features in Search, AI Overviews and AI Mode, use the same index.
Blocking Googlebot removes pages from Google Search and from those AI features. To opt out of Gemini training without touching Search, use the Google-Extended token instead.
Googlebot is Google's main crawler that indexes pages for Google Search, including AI Overviews and AI Mode. Source.
For Googlebot, distinguish a crawl preference in robots.txt from server enforcement and removal of an already indexed page.
Should you block Googlebot?
Consider allowing Googlebot when you use the associated service; verify identity, access requirements and server load first.
| Effect on search rankings | A crawl block prevents future fetching when the engine honors it; it does not guarantee immediate removal of indexed URLs. |
|---|---|
| Effect on AI visibility | Search-backed AI features depend on their own eligibility and controls. For Google, Search Console generative AI settings and Google-Extended have separate scopes. |
| Follows robots.txt | Yes |
| Recommendation | Allow |
When does Googlebot visit your site?
Googlebot crawls continuously with a smartphone and a desktop user agent to keep Google Search up to date. How often it returns depends on the site; Search Console shows the crawl stats Google records for your property.
Why did Google create Googlebot?
Googlebot builds the Google Search index. Google's AI features in Search, AI Overviews and AI Mode, draw on the same index, so Googlebot is also the entry point to Google's AI answers.
What Googlebot means for GEO
For Google, classic SEO and AI visibility share one crawler. Googlebot decides whether pages can appear in Search and in the AI features built on it; a separate token, Google-Extended, governs Gemini training and grounding.
| What changes | If you allow it | If you block it |
|---|---|---|
| Google Search results | Pages can be indexed and ranked. | Pages drop out of Google Search. |
| AI Overviews and AI Mode | Indexed pages can be used and linked in AI features in Search. | Pages are no longer available to those features. |
| Gemini training and grounding | Controlled separately by Google-Extended. | Controlled separately by Google-Extended. |
Googlebot vs other Google bots
Google runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.
| Bot | Job | robots.txt | If you block it |
|---|---|---|---|
| Googlebot | Search index | Yes | Search-backed AI features depend on their own eligibility and controls. For Google, Search Console generative AI settings and Google-Extended have separate scopes. |
| Google-CloudVertexBot | Product feature | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
| Google-Extended | AI training | Yes | Google-Extended manages certain non-Search training and grounding uses. Search generative AI has a separate Search Console control. |
| GoogleOther | AI training, Product feature | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
| GoogleOther-Image | AI training, Product feature | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
| GoogleOther-Video | AI training, Product feature | Yes | A rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product. |
Should your type of site allow Googlebot?
| Every public website | Allow. Blocking Googlebot removes the site from Google Search and from AI Overviews and AI Mode. |
|---|
Common mistakes with Googlebot
- Blocking Googlebot to avoid AI use. Google-Extended is the token for Gemini training and grounding; it does not affect Search.
- Blocking CSS or JavaScript files Googlebot needs to render pages.
- Trusting the user agent alone: confirm Googlebot with a reverse DNS lookup or Google's published IP list.
How do you block or allow Googlebot?
Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token Googlebot is matched case-insensitively.
robots.txt: block
# Block Googlebot
User-agent: Googlebot
Disallow: /robots.txt: allow
# Allow Googlebot
User-agent: Googlebot
Allow: /robots.txt: partial
# Keep Googlebot out of private areas only
User-agent: Googlebot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to Googlebot
if ($http_user_agent ~* "(Googlebot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to Googlebot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Googlebot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Googlebot")How can you verify Googlebot traffic?
Google publishes the IP ranges that Googlebot uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.
Reverse DNS check: look up the request IP, confirm the hostname ends in googlebot.com, then look up that hostname and confirm it returns the same IP.
# 1. Reverse lookup: the hostname must end in googlebot.com
host REQUEST_IP
# 2. Forward lookup: must return the same REQUEST_IP
host HOSTNAME_FROM_STEP_1How do you find Googlebot in server logs?
Search the web server access log for the literal identifier. The command below counts candidate Googlebot requests per URL on Nginx or Apache.
grep -iF -- 'Googlebot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.
What user-agent string does Googlebot use?
A user-agent sample recorded in the cited source for Googlebot. Version numbers such as Chrome/W.X.Y.Z change over time, so match the token, not the whole string.
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)Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z Safari/537.36Googlebot FAQ
No. Google states Google-Extended does not affect inclusion or ranking in Google Search. Googlebot keeps crawling for Search either way.
Googlebot identifies itself with the robots.txt token "Googlebot". A typical request header reads: 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)
Google states that Googlebot follows robots.txt rules. Check the documented scope and any exceptions on this profile.
A crawl block prevents future fetching when the engine honors it; it does not guarantee immediate removal of indexed URLs. Search-backed AI features depend on their own eligibility and controls. For Google, Search Console generative AI settings and Google-Extended have separate scopes.
Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: Googlebot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.
Yes. Google publishes the IP ranges Googlebot uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.
Search your server access log for "Googlebot", for example with: grep -i "Googlebot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.
Sources: Google crawler documentation. Content updated by Justin Hà.
See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.