Bot directory · Search engine
Googlebot
Google's main crawler, which fetches pages for Google Search and related surfaces such as Discover, Images, Video and News.
At a glance
- Operator
- Purpose
- Search engine
- robots.txt token
Googlebot- Obeys robots.txt
- YesGoogle says its common crawlers, including Googlebot, always obey robots.txt for automatic crawls.
- Published IP ranges
- developers.google.com/static/crawling/ipranges/common-crawlers.json
- Reverse DNS
googlebot.com
User agents
As Google documents them. Version numbers can change.
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.36Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)Googlebot/2.1 (+http://www.google.com/bot.html) Block or allow Googlebot in robots.txt
To keep Googlebot off the whole site:
User-agent: Googlebot
Disallow: / To keep it out of one folder and allow the rest:
User-agent: Googlebot
Disallow: /private/
A group for Googlebot replaces your User-agent: * rules for this bot,
so repeat any general rules you still want it to follow. Check the result with the robots.txt checker.
How to verify Googlebot
Google publishes the IP addresses Googlebot uses. A request is genuine if it comes from one of them.
Paste an IP from your logs into the bot IP verifier to check it.
Good to know
Chrome/W.X.Y.Z is Google's placeholder for the current Chrome version; Google recommends wildcards when matching it. Common-crawler hostnames follow crawl-***-***-***-***.googlebot.com or geo-crawl-***-***-***-***.geo.googlebot.com. Googlebot-Image, Googlebot-Video and Googlebot-News are separate robots.txt tokens that fall back to Googlebot rules. Google's crawler docs moved from /search/docs/crawling-indexing/ to /crawling/docs/crawlers-fetchers/ (old URLs redirect), and the old googlebot.json IP file now redirects to common-crawlers.json.
Questions
What is Googlebot?
Googlebot is Google’s search engine crawler. Google's main crawler, which fetches pages for Google Search and related surfaces such as Discover, Images, Video and News.
How do I block Googlebot?
Add “User-agent: Googlebot” followed by “Disallow: /” to your robots.txt. Google says Googlebot follows robots.txt.
How do I know a request really comes from Googlebot?
Google publishes the IP addresses Googlebot uses. A request is genuine if it comes from one of them.