---
title: "Googlebot User Agent: What It Does & How to Block It"
description: "Googlebot is Google's bot that crawls web pages for a search engine index. See its user agent, robots.txt rules and SEO impact."
url: "https://justinha.info.vn/bots/search-engines/googlebot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[Search Engine Crawlers](https://justinha.info.vn/bots/search-engines/)

# 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](https://justinha.info.vn/bots/company/google/)

Search indexOfficial docs Allow

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](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers).

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](https://justinha.info.vn/bots/ai-crawlers/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](https://justinha.info.vn/bots/ai-crawlers/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](https://justinha.info.vn/bots/ai-crawlers/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](https://justinha.info.vn/bots/ai-crawlers/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](https://justinha.info.vn/bots/ai-crawlers/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.

[Official Googlebot IP ranges](https://developers.google.com/static/crawling/ipranges/common-crawlers.json)

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_1
```

## How 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 -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), 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.36
```

## Googlebot FAQ

Does blocking Google-Extended affect Googlebot?

No. Google states Google-Extended does not affect inclusion or ranking in Google Search. Googlebot keeps crawling for Search either way.

What is the Googlebot user agent?

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)

Does Googlebot respect robots.txt?

Google states that Googlebot follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking Googlebot hurt my SEO?

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.

How do I block Googlebot in robots.txt?

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.

How can I verify a request really comes from Googlebot?

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.

How do I see if Googlebot visits my website?

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](https://developers.google.com/crawling/docs/crawlers-fetchers/google-common-crawlers). Content updated November 27, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[AdsBot-Google Google Ads](https://justinha.info.vn/bots/platform-fetchers/adsbot-google/)   [AdsBot-Google-Mobile Google Ads](https://justinha.info.vn/bots/platform-fetchers/adsbot-google-mobile/)   [APIs-Google Google Product feature](https://justinha.info.vn/bots/platform-fetchers/apis-google/)   [Chrome-Lighthouse Google Product feature](https://justinha.info.vn/bots/seo-tools/chrome-lighthouse/)   [FeedFetcher-Google Google Product feature](https://justinha.info.vn/bots/platform-fetchers/feedfetcher-google/)   [Gemini-Deep-Research Google AI assistant](https://justinha.info.vn/bots/ai-assistants/gemini-deep-research/)

## 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.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
