Googlebot
Google · Search engine crawler
What Googlebot is
Crawls pages for Google Search. Google says robots.txt rules for Googlebot are also the control for Google Search AI features such as AI Overviews.
Builds a search index. Blocking it usually removes the site from that search engine and from AI features built on that index.
The provider documents that it follows robots.txt.
Example user agent: 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
- Allowing Googlebot in robots.txt does not mean a page is indexed or shown in AI Overviews.
- Only Google Search Console can show what Google has actually indexed.
How to allow or block Googlebot in robots.txt
robots.txt groups apply by user-agent token. The most specific group that names Googlebot wins, and within it the longest matching rule decides (RFC 9309). Put these lines in the robots.txt at the root of each host you want them to apply to.
Allow
User-agent: Googlebot Allow: /
Lets Google's search engine crawl the pages you choose. Usually essential for appearing in its search results and in AI features built on that index.
Block
User-agent: Googlebot Disallow: /
Usually removes the blocked pages from Google's search results over time. Rarely what a business wants for public pages.
Block one area only
User-agent: Googlebot Disallow: /private/ Allow: /
Everything except /private/ stays allowed for Googlebot. Adapt the path to your site.
robots.txt controls what compliant crawlers may fetch. It does not secure content, and firewall or CDN settings can still block a crawler that robots.txt allows. Our scanner reports what your rules permit for each crawler and flags bot-protection responses it receives; it never impersonates Googlebot.
Other Google crawlers and tokens
- Google-Agent · User-initiated fetcher
- Google-Extended · Policy token (not a crawler)
Each token is matched separately in robots.txt: a group naming one does not apply to the others, unless the provider documents a fallback (noted above).
Does your robots.txt allow Googlebot?
The free check evaluates your robots.txt for Googlebot and every other crawler in our registry, quoting the exact rule that decides each one.
Sources: Google documentation · published IP ranges · registry 2026-10-20.1. AI Crawlability Audit is not affiliated with Google.