Googlebot
Last reviewed
Googlebot is Google's crawler for Google Search. It fetches pages, and Google documents a second step: rendering them in a browser before indexing.
| Operator | |
|---|---|
| Type | Search engine crawler |
| User agent contains | Googlebot |
| Purpose | Crawls pages for Google Search. |
| robots.txt | Follows robots.txt. The robots.txt token is Googlebot. (source) |
| Runs JavaScript | Renders pages with an evergreen version of Chromium after crawling them, then indexes the rendered HTML. (source) |
| How to verify it | IP ranges published at developers.google.com/static/crawling/ipranges/common-crawlers.json Reverse DNS ending in googlebot.com, confirmed by a forward lookup |
| Official documentation | developers.google.com/search/docs/crawling-indexing/verifying-googlebot developers.google.com/search/docs/crawling-indexing/google-common-crawlers developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics |
What it sees on a JavaScript site
Google documents that Googlebot crawls a page, queues it for rendering, runs its JavaScript in an evergreen version of Chromium and indexes the rendered HTML. So Google can index a client-rendered page.
The same Google guide still recommends server-side rendering or prerendering, because not all bots can run JavaScript. Rendering also happens after crawling, so content that needs scripts reaches the index later than content in the HTML.
How to allow or block it in robots.txt
Google documents that Googlebot follows robots.txt and that its token is Googlebot. Blocking Googlebot stops Google crawling the pages, so use Disallow only for paths you do not want crawled.
# Block Googlebot from the whole site
User-agent: Googlebot
Disallow: /
# Or allow it everywhere
User-agent: Googlebot
Allow: /
robots.txt controls whether a bot may fetch a page. It does not change what the bot sees once it fetches it. For the full syntax, see robots.txt.
How Prebaked serves it
Your Prebaked integration looks at the User-Agent header of each request. When it contains Googlebot, the request gets the rendered HTML of your page from Prebaked: the same content a visitor sees after the scripts run. Every other visitor gets your site directly. Prebaked does not change the content for crawlers. The visit shows up in your request log, marked as verified when the IP check passes.
To see what a bot that does not run JavaScript gets from your page, run the free checker. The full list of bots Prebaked serves is on Crawlers.
Can AI search cite your site? Check it free
FAQ
Does Googlebot run JavaScript?
Yes. Google documents that Googlebot renders pages with an evergreen version of Chromium before indexing them. Google still recommends server-side rendering or prerendering, because not all bots can run JavaScript.
How do I block Googlebot in robots.txt?
Add a group with User-agent: Googlebot and Disallow: /. Google documents that Googlebot follows robots.txt.
Does Prebaked change what Googlebot sees?
No. Googlebot gets the same rendered content a visitor sees, already in the HTML, so it does not have to wait for its own rendering step. Prebaked does not add or remove content for crawlers.
How can I tell if a visit is really from Googlebot?
Anyone can send a user agent that says Googlebot. The operator publishes IP ranges and a reverse DNS rule, both listed in the table above. Prebaked checks them and marks matching visits as verified in your request log.