Google · Model training
How to Allow or Block Google-Extended in robots.txt
Controls whether site content is used to train Gemini models (does not affect Google Search ranking).
Updated
- Official User-Agent
- Google-Extended
- Owner
- Purpose
- Model Training
- Recommended action
- Block
- What blocking it means
- Collects content to train foundation models. Blocking it does not remove you from AI search answers.
Google-Extended robots.txt rules
Allow Google-Extended
User-agent: Google-Extended Allow: /
Block Google-ExtendedRecommended
User-agent: Google-Extended Disallow: /
Block Google-Extended from specific folders only
User-agent: Google-Extended Disallow: /private/ Disallow: /drafts/ Allow: /
Place these rules in /robots.txt at the root of your domain. Crawlers cache robots.txt, so changes apply the next time Google-Extended re-fetches it. Allow up to a day or more. If no group names Google-Extended, it follows your User-agent: * rules. robots.txt is a voluntary standard, not access control. See the FAQ for details.
Google-Extended FAQ
What is Google-Extended?
Google-Extended is a web crawler operated by Google. Controls whether site content is used to train Gemini models (does not affect Google Search ranking).
How do I block Google-Extended in robots.txt?
Add these lines to the robots.txt file at the root of your domain: "User-agent: Google-Extended" followed by "Disallow: /". To block only part of the site, replace / with a path such as /private/.
How do I allow Google-Extended in robots.txt?
Add "User-agent: Google-Extended" followed by "Allow: /". If no rule names Google-Extended, it falls back to your "User-agent: *" rules, so check that those don't block it.
What happens if I block Google-Extended?
Google will stop using your pages to train future models. You still appear in AI search answers, because those use separate search crawlers.
Should I allow or block Google-Extended?
AEO Grader recommends blocking Google-Extended if you want to opt out of AI model training. Blocking it doesn't stop separate AI search crawlers, such as OAI-SearchBot or PerplexityBot, from fetching your pages. The right choice depends on your content licensing goals.
Does blocking Google-Extended remove content it already collected?
No. robots.txt only affects future crawling. Content collected before you added the rule isn't removed. Check Google's own documentation for any separate opt-out or removal process.