Google-Agent
Google · User-initiated fetcher
What Google-Agent is
Used by agents hosted on Google infrastructure to browse the web and act on a user's request.
Fetches a page only when a person asks an AI assistant to. Some providers say these fetchers may not follow robots.txt.
The provider says it may not follow robots.txt (for example because a person asked for the page), so robots.txt rules express your preference rather than guarantee behaviour.
- Google says user-triggered fetchers "generally ignore robots.txt rules", because a person asked for the fetch.
How to allow or block Google-Agent in robots.txt
robots.txt groups apply by user-agent token. The most specific group that names Google-Agent 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: Google-Agent Allow: /
Lets Google's assistant fetch a page when a person asks it to.
Block
User-agent: Google-Agent Disallow: /
Asks Google-Agent not to fetch the blocked pages. The provider says it may not always follow this.
Block one area only
User-agent: Google-Agent Disallow: /private/ Allow: /
Everything except /private/ stays allowed for Google-Agent. 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 Google-Agent.
Other Google crawlers and tokens
- Googlebot · Search engine crawler
- 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 Google-Agent?
The free check evaluates your robots.txt for Google-Agent and every other crawler in our registry, quoting the exact rule that decides each one.
Sources: Google documentation · registry 2026-10-20.1. AI Crawlability Audit is not affiliated with Google.