On this page8 sections
Why it matters for founders and small teams
One stray nosnippet in a template can quietly remove every page it touches from Google’s AI Overviews and AI Mode, and most teams only notice when AI referrals dry up. Used on purpose, the same controls let you keep a sensitive passage — a negotiated price, a gated excerpt — out of AI answers without taking the page out of search.
How do snippet controls work?#
Snippet controls work as robots rules in a meta tag or X-Robots-Tag header — nosnippet and max-snippet:[n] apply to the whole page — or as a data-nosnippet attribute on individual elements, telling search engines how much text they may show or quote from that page.
<!-- No text snippet anywhere, and no input to AI Overviews or AI Mode --><meta name="robots" content="nosnippet"> <!-- Cap snippets and AI input at 150 characters --><meta name="robots" content="max-snippet:150"> <!-- Let Google choose the snippet length and allow large image previews --><meta name="robots" content="max-snippet:-1, max-image-preview:large"> <!-- Keep one passage out while the rest of the page stays quotable --><p>Plans start at $29 a month.</p><div data-nosnippet>Enterprise pricing is negotiated per contract.</div># The same rules as response headers, for PDFs and other non-HTML filesX-Robots-Tag: nosnippetX-Robots-Tag: googlebot: max-snippet:150- The strictest rule wins. If a page carries both
max-snippet:50andnosnippet, Google appliesnosnippet. data-nosnippetworks only onspan,divandsectionelements, and an unclosed element hides everything after it. Don’t add or remove it with JavaScript: Google may read it before or after rendering.- The crawler has to see the rule. A page blocked in robots.txt never has its meta tags read, so its snippet rules are ignored.
- The same rules govern featured snippets.
nosnippetordata-nosnippetkeeps text out of them; a lowmax-snippetalone doesn’t guarantee it.
Do snippet controls affect AI Overviews and AI Mode?#
Snippet controls directly govern Google’s AI Overviews and AI Mode: nosnippet stops a page being used as a direct input to them, max-snippet limits how much they may use, and data-nosnippet removes a passage. Google also requires a page to be snippet-eligible before it can appear as a supporting link at all.
Google’s robots meta specification names the AI features outright. nosnippet “applies to all forms of search results (at Google: web search, Google Images, Discover, AI Overviews, AI Mode) and will also prevent the content from being used as a direct input for AI Overviews and AI Mode.” max-snippet “will also limit how much of the content may be used as a direct input” to both.
| Control | AI Overviews & AI Mode | Classic results | Gemini app |
|---|---|---|---|
nosnippet | Not used as input | No text snippet | Not documented |
max-snippet:[n] | Input capped at n characters | Snippet capped | Not documented |
data-nosnippet | That passage excluded | Passage excluded | Not documented |
| Search Console: Search generative AI → Exclude | Removed | Unaffected | Not covered |
noindex | Removed | Removed | Removed |
Google-Extended disallowed | Unaffected | Unaffected | Grounding and training off |
Rankbox framework
The Snippet Control Ladder
Five controls ordered from the narrowest to the widest. Start at the lowest rung that solves the problem — each step up removes more of your content from answers you may still want to be in.
- 01
Rung 1: data-nosnippet
Hides one passage from snippets and AI input while the rest of the page stays quotable. For negotiated prices, internal notes and gated excerpts.
- 02
Rung 2: max-snippet
Caps how much text Google may quote or feed to its AI features. For licensed text where a short preview is fine — keep the number generous if you want to be cited.
- 03
Rung 3: Search generative AI → Exclude
Removes a property from AI Overviews, AI Mode and Discover’s AI features but keeps classic results and snippets. A URL-prefix property can scope it to one folder.
- 04
Rung 4: nosnippet
No text snippet anywhere in Google and no AI input — the page becomes a bare link. On Bing, the AI-specific equivalents are
nocacheandnoarchive. - 05
Rung 5: noindex
Out of search entirely. The only rung documented to work beyond Google and Bing: OpenAI tells sites to use it to stay out of ChatGPT search, and it keeps pages out of Brave, Claude’s search provider.
How to use it: Most teams that need snippet controls at all need only rung 1. If an audit finds rung 2 or rung 4 in a site-wide template, treat it as a bug until someone can name the answer engine it was meant to keep out.
Free to use and adapt. If you cite it, link to rankbox.xyz/glossary/snippet-controls.
How do you opt out of AI Overviews without leaving Google Search?#
To opt out of AI Overviews without leaving Google Search, set Search Console’s Search generative AI setting to Exclude, which since 31 August 2026 removes a property from AI Overviews, AI Mode and Discover’s AI features while leaving regular results untouched. nosnippet also works, but strips your snippets everywhere.
| Goal | Best control | Trade-off |
|---|---|---|
| Leave AI Overviews and AI Mode, keep classic listings | Search Console → Settings → Search generative AI: Exclude | Per property; takes a few days; doesn’t cover the Gemini app |
| Keep one passage out of every snippet and AI answer | data-nosnippet on that element | None for the rest of the page |
| Keep a page’s text out of all Google snippets | nosnippet | A bare blue link in classic results too |
| Keep content out of Gemini-app grounding and training | Disallow Google-Extended in robots.txt | No effect on AI Overviews or Search |
| Remove the page from Google entirely | noindex | Gone from every Google surface |
Google’s caveat applies to all of them: the crawler has to see the change, and recrawling “can take anywhere from several days to several months.” Check what Googlebot received with URL Inspection in Search Console, and request a recrawl for pages that can’t wait. See Google-Extended for the Gemini side and AI Overviews for how the feature picks sources.
Do Bing, ChatGPT, Claude and Perplexity honor snippet controls?#
Bing has its own AI controls — noarchive keeps a page out of its AI chat answers and nocache limits them to the URL, title and snippet — while OpenAI, Anthropic and Perplexity document no snippet controls at all; for them, the levers are robots.txt and noindex.
| Engine | Control | What it does |
|---|---|---|
| Bing — Copilot | noarchive | Not included in or linked from Bing’s AI chat answers, and not used to train Microsoft’s generative models |
| Bing — Copilot | nocache | May appear in AI chat answers, but only as URL, title and snippet |
| Bing — Copilot | Both together | Treated as nocache |
| ChatGPT search | None documented | OpenAI says to use noindex to keep a page out; a disallowed URL can still surface as a link and title |
| Claude | None documented | Each citation quotes up to 150 characters of the page |
| Perplexity | None documented | Even with PerplexityBot blocked, it may show the domain, headline and a brief summary |
Bing announced its two controls in September 2023 for what was then Bing Chat. Note the split with Google, whose robots specification lists noarchive and nocache among rules it no longer uses — so a single robots meta tag can mean different things to different engines. For the AI engines with no snippet controls, crawler access is the real switch: see AI crawlers.
Common mistakes with snippet controls#
The most common snippet control mistakes are a nosnippet or tiny max-snippet left in a site-wide template, blocking a page in robots.txt so its rules are never read, relying on Google-Extended to leave AI Overviews, and wrapping so much in data-nosnippet that nothing quotable is left.
Myth
Blocking Google-Extended keeps me out of AI Overviews.
Reality
It governs Gemini training and Gemini-app grounding only. For AI Overviews, use the Search Console setting, nosnippet or noindex.
Myth
A robots.txt Disallow is the safest way to hide content.
Reality
Google can index a blocked URL without its content, and it can’t read snippet rules on a page it can’t crawl. Allow the crawl and use nosnippet or noindex.
Myth
noarchive still controls Google's cached copies.
Reality
Google retired cached links and ignores noarchive. Bing, by contrast, uses it to keep pages out of its AI chat answers.
Myth
Snippet rules are set-and-forget.
Reality
Search your templates for nosnippet, low max-snippet values and data-nosnippet after every redesign. Each one throttles what AI features can use.
Related terms#
- AI search & GEOAI OverviewsAI-generated summaries shown at the top of some Google search results, written by a Gemini model from pages in Google’s search index and linked to their sources — so they are won through ordinary Google eligibility, not a separate submission or special markup.Read the entry
- AI crawlersGoogle-ExtendedA robots.txt product token, not a separate crawler, that lets site owners stop Google from using their content to train Gemini models and to ground answers in the Gemini app, without affecting Google Search — including AI Overviews and AI Mode.Read the entry
- Content & relevanceFeatured snippetA highlighted excerpt Google shows at the top of some results to answer the query directly, lifted from one ranking page and credited with a link — the original answer-extraction format and the direct forerunner of AI Overviews.Read the entry
- AI crawlersrobots.txtA plain-text file at a site’s root that tells crawlers which paths they may fetch, rule by rule for each user agent — a voluntary standard that reputable search and AI bots follow, which controls crawling but not whether a URL gets indexed.Read the entry
- AI search & GEOAI ModeA conversational search experience inside Google Search that answers complex questions with a generated response built from many parallel sub-searches and supports follow-up questions, rather than summarizing above the classic results as AI Overviews do.Read the entry
- GSCMeasurementGoogle Search ConsoleGoogle’s free tool for site owners that reports how a site performs in Google Search — queries, impressions, clicks, position and indexing — and since 2026 it also reports impressions in Google’s generative AI features and lets owners opt out of them.Read the entry
Go deeper
Sources
- 1.Robots meta tag, data-nosnippet, and X-Robots-Tag specificationsGoogle Search Central · developers.google.com ↗
- 2.AI features and your websiteGoogle Search Central · developers.google.com ↗
- 3.Search generative AI controlSearch Console Help · support.google.com ↗
- 4.Featured snippets and your websiteGoogle Search Central · developers.google.com ↗
- 5.Announcing new options for webmasters to control usage of their content in Bing ChatMicrosoft Bing · blogs.bing.com ↗
- 6.Publishers and developers FAQOpenAI Help Center · help.openai.com ↗
