-
Home
-
User Agent Directory
- Google-Agent
Google-Agent
What is Google-Agent?
Google says Google-Agent is used by agents hosted on its infrastructure to navigate the web and perform actions at a user's request. It is not the automatic Googlebot indexer. Google's published mobile and desktop header examples contain a variable Chrome version, so this entry records the stable identifier rather than inventing a literal full header. Google groups it with user-triggered fetchers, which generally ignore robots.txt. Google publishes a dedicated user-triggered-agents IP-range file.
User Agent String
Google-Agent
How to Control Google-Agent
Block Completely
To prevent Google-Agent from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify Google-Agent
Match the source IP to Google's current user-triggered-agents.json ranges; where available, validate Web Bot Auth rather than trusting the header alone.
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect Google-Agent in your application:
Basic Pattern
/Google\-Agent/i
Strict Pattern
/^Google\-Agent$/
Flexible Pattern
/Google\-Agent[\s\/]?[\d\.]*?/i
Vendor Match
/.*Google.*Google\-Agent/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Limit Access | Protect pricing and inventory data from AI training |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Selective | Allow for public docs, block for internal docs |
| Corporate Site | Limit | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
Google-Agent
Robots.txt Name
Google-Agent
Category
ai
Respects robots.txt
May not respect