Google-Agent

Google-Agent is Google's user-initiated fetcher. Agents on Google infrastructure acting on a user request. Google: user-triggered fetchers "generally ignore robots.txt rules".

robots.txt token
Google-Agent
Operator
Google
Type
User-initiated
Follows robots.txt
Not always: Google says robots.txt rules may not apply, because a person asked for the page.

Should I block Google-Agent?

Usually not. Google-Agent fetches a page only when someone asks Google's assistant about it, so blocking it turns away a reader who was already interested in your page. And because Google says robots.txt may not apply to it, a Disallow rule may not stop it anyway.

Deciding which AI bots to allow? Our guide robots.txt for AI crawlers compares them and has ready-made rules.

How do I block Google-Agent?

To block Google-Agent, add a group for it to the robots.txt file at the root of your site, as shown below. Disallow: / covers every page; use a path such as /private/ instead to block only part of the site. Google says robots.txt may not apply to Google-Agent, so to be sure, block it at your server, firewall or CDN as well.

User-agent: Google-Agent
Disallow: /

How do I allow Google-Agent?

Google-Agent is allowed by default: with no group for Google-Agent in your robots.txt, it follows the User-agent: * group and may fetch any page that group doesn't disallow. To allow it explicitly, add the group below. A group that names Google-Agent replaces the * rules for it entirely, so copy into it any Disallow lines you still want it to follow. Also check your CDN: Cloudflare, for example, blocks many AI crawlers by default on new sites, whatever robots.txt says.

User-agent: Google-Agent
Allow: /

How can I tell a request is really Google-Agent?

Check the IP address, not the user agent: anyone can send a user agent that says Google-Agent. Google publishes the IP addresses Google-Agent requests come from, so compare each request's IP against that list (linked below) and refresh your copy regularly, because the list changes.

Google's IP list for Google-Agent (opens in a new tab)

How does robots.txt decide whether Google-Agent may fetch a page?

A crawler that follows the standard picks the group whose User-agent line matches its token, Google-Agent, ignoring case, and uses the * group only when no group names it. Within that group, the rule with the longest matching path wins, and when an Allow and a Disallow rule match equally, the Allow rule wins. Crawlers must read at least 500 KiB of the file and follow at least 5 redirects to reach it.

According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.

When does a robots.txt change take effect for Google-Agent?

Not instantly, because crawlers keep a cached copy of robots.txt. The standard says a cached copy should not be used for more than 24 hours, so allow at least a day before checking your logs for Google-Agent. If robots.txt returns a 4xx error such as 404, crawlers may fetch anything; if it returns a 5xx server error, they must treat the whole site as disallowed, for up to 30 days.

According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.

Does your site block Google-Agent?

Robots.txt is only half the answer: a firewall, CDN or bot-protection rule can turn Google-Agent away even when robots.txt allows it, and a rule written for another bot can catch it by accident. Scan a page to see what your robots.txt says to Google-Agent and 27 other crawlers for that exact page, with the line that decides it. The report also sends one request that identifies as OAI-SearchBot (when robots.txt allows it), to show whether your CDN treats AI crawlers differently.

Other Google crawlers

More user-initiated AI fetchers

Sources

The details on this page were checked on 12 November 2026 against the documentation published by Google (opens in a new tab). The robots.txt rules follow RFC 9309 (opens in a new tab).