Sub topic 4
Google-Extended: what it controls and what it does not
Google-Extended is the most misunderstood AI-related entry in a robots.txt file. Site owners often assume it works like GPTBot, a crawler they can see in their logs and block at the server. It doesn't work that way. This chapter explains what the token controls, what it leaves alone, and how to write and test rules for it.
This chapter assumes you have read the earlier chapters on how robots.txt groups are matched and on the difference between training, AI search, and user-initiated fetching. You should be comfortable editing a robots.txt file and reading short Python scripts.
A token, not a crawler
Most AI crawlers have their own user-agent string. GPTBot sends requests whose User-Agent header contains GPTBot. Google-Extended is different. It is a standalone product token: a name you can address in robots.txt, but not a separate program that visits your site.
Google fetches your pages with its existing crawlers, such as Googlebot. When Google decides whether content it has already crawled may be used for certain generative AI purposes, it checks whether your robots.txt disallows the Google-Extended token. The fetch itself is unchanged.
Three consequences follow:
- No request in your access log will ever carry
Google-Extendedas its user agent. The log-counting pipeline from the monitoring chapter cannot see it. - You cannot enforce a Google-Extended block at the server. A user-agent rule in nginx has nothing to match, because the request that fetched your page identified itself as Googlebot.
- The only control is robots.txt, so Google's compliance with that file is the whole mechanism.
What Google-Extended controls
According to Google's crawler documentation, Google-Extended lets a publisher manage whether content Google crawls may be used for two purposes:
- Training future generations of the Gemini models that power Gemini Apps and the Vertex AI API for Gemini.
- Grounding, which means supplying content from the Google Search index to a model at prompt time to improve factual accuracy, in Gemini Apps and in Grounding with Google Search on Vertex AI.
Google has revised this wording over time, so read the current version of its "Google common crawlers" page before you rely on a specific claim. The core idea has stayed the same: Google-Extended is about generative AI products built on Gemini, not about Search.
What Google-Extended does not control
Google states that Google-Extended does not affect inclusion in Google Search and is not a ranking signal. Disallowing it will not remove a page from results, lower its position, or stop Google from crawling it.
The following are also outside its scope:
| Behavior | Controlled by Google-Extended? | What does control it |
|---|---|---|
| Crawling and indexing for Search | No | `Googlebot` in robots.txt, `noindex` |
| Ranking in Search results | No | Not a publisher setting |
| Snippets and AI features in Search, such as AI Overviews and AI Mode | No | Preview controls: `nosnippet`, `max-snippet`, `data-nosnippet` |
| Content already used in earlier training | No | Nothing. A block applies going forward. |
| Requests that a user triggers directly | No | Google's documentation for user-triggered fetchers |
| Other companies' crawlers | No | Their own tokens, such as GPTBot or ClaudeBot |
The AI Overviews row is the one that matters most in practice. AI features in Search are part of Search, so they follow Search's rules. If you want to keep a page out of them, you need Search-level controls. Those controls also affect how your page appears in ordinary results, so the trade-off is real. Check Google's current documentation on AI features and your website before choosing.
Writing the rules
A site-wide opt-out is a single group:
# Exclude all content from Gemini training and grounding
User-agent: Google-Extended
Disallow: /Everything else stays allowed by default, since a path that matches no Disallow rule is allowed. You don't need to add an Allow group for Googlebot. A full file that makes the Search policy explicit looks like this:
User-agent: Google-Extended
Disallow: /
User-agent: Googlebot
Allow: /
User-agent: *
Allow: /You can also scope the block to part of the site, which suits sites with a public blog and a paid section:
User-agent: Google-Extended
Disallow: /members/
Disallow: /drafts/Everything outside those two paths remains available to Gemini.
Keep the group boundaries in mind
A crawler obeys only the most specific group that names it. If you write a Google-Extended group, Google reads only that group for the token and ignores the * group. Rules you wanted to apply to every crawler, such as Disallow: /private/, must be repeated inside the Google-Extended group. Missing this is a common cause of unexpected access.
Testing the rules
Test a draft before you deploy it. Python's standard-library parser can check each token against a URL:
from urllib.robotparser import RobotFileParser
rules = """\
User-agent: Google-Extended
Disallow: /
User-agent: Googlebot
Allow: /
User-agent: *
Allow: /
"""
parser = RobotFileParser()
parser.parse(rules.splitlines())
url = "https://example.com/articles/guide"
for agent in ["Google-Extended", "Googlebot", "Bingbot"]:
print(agent, parser.can_fetch(agent, url))
# Google-Extended False
# Googlebot True
# Bingbot TrueThe parser only reads rules. It cannot tell you what Google will do with them. It also differs from Google's own matcher in edge cases such as wildcard handling, so treat it as a quick check of group structure, not as proof of Google's behavior.
After you deploy, confirm that the live file is what crawlers will see:
# Confirm the live file is served at the site root with a 200 status and plain text type
curl -sI https://example.com/robots.txt | head -n 5
# Read the rules exactly as crawlers will see them
curl -s https://example.com/robots.txtLook for a 200 status and a text/plain content type. A 404 or 5xx response changes how crawlers treat the whole file, and a redirect to a different host may mean your rules are not the ones being read. Remember that robots.txt applies per host and protocol, so www.example.com and blog.example.com each need their own file.
Google Search Console also offers a robots.txt report. It shows the version Google last fetched, which tells you when a change has actually been picked up.
Failure modes and gotchas
- Changes are not instant. Google caches robots.txt, usually for up to a day. A new Google-Extended block applies after the next refresh.
- The block is forward-looking. Disallowing the token does not remove content from models that were already trained. It limits future use.
- You cannot verify compliance from your logs. For GPTBot you can check whether requests continue after a block. For Google-Extended there is no distinct request to check, so you rely on Google's documented behavior.
- Server-level blocking is not an option. Blocking Googlebot's user agent or IP ranges to stop AI use also stops Search crawling. If you need stronger protection than a request, such as for paywalled content, use authentication, not a crawler token.
- Typos fail silently. A misspelled token such as
Google-Extendcreates a valid group that no crawler will ever match, and nothing reports an error. Copy the token from Google's documentation and test it with the parser. - Token names can change. Google has added new tokens over time. Review its crawler documentation periodically, as covered in the final chapter on keeping your policy current.
Deciding whether to block it
The choice depends on what you want from Google's generative products:
- Block if the content is your product, if you license it to others, or if you don't want it shaping Gemini's answers. You lose nothing in Search.
- Allow if you want your content to be eligible for use in Gemini Apps and in grounded answers, and you value that exposure.
- Block part of the site if some sections are paid or sensitive and others are public marketing material.
Because the token does not touch Search ranking, this decision is separate from your SEO strategy. Treat it as a licensing and visibility decision, and write down the reasoning so the next person who edits robots.txt understands it.
Exercise
A site owner adds "User-agent: Google-Extended / Disallow: /" to robots.txt. Two weeks later they search their access logs for "Google-Extended" to confirm the block is working and find nothing. They also notice their pages still rank well in Google Search. Explain both observations, and say whether anything is wrong.
Show answer
Nothing is wrong. Google-Extended is a robots.txt product token, not a crawler with its own User-Agent string, so no log line will ever contain it. Google fetches pages with its usual crawlers such as Googlebot, then applies the Google-Extended rule to decide whether the content may be used for Gemini training and grounding. The ranking is unaffected because Google states the token is not a ranking signal and does not affect Search inclusion. To check the rule is live, fetch the file with curl and test it with a parser, because compliance cannot be measured from logs.
Exercise
A robots.txt file contains "User-agent: *" with "Disallow: /private/", and a separate group "User-agent: Google-Extended" with "Disallow: /members/". Can Google-Extended use pages under /private/?
Show answer
Yes. A crawler follows only the most specific group that names it, so the Google-Extended group replaces the "*" group for that token. The "/private/" rule does not apply to it. To block both paths, repeat "Disallow: /private/" inside the Google-Extended group.