Promptwatch Logo

Snippet Controls (nosnippet, max-snippet, data-nosnippet)

Snippet controls are robots meta rules and an HTML attribute that limit how much page text Google shows, including what AI Overviews and AI Mode can use.
Updated November 15, 2026
SEO

Definition

Snippet controls are the robots meta tag rules (nosnippet and max-snippet) and the data-nosnippet HTML attribute that limit how much of a page's text Google may show in search results. Google's documentation says they also apply to AI Overviews and AI Mode: nosnippet stops a page being used as a direct input for those features, and max-snippet caps how much of it they can use.

Google's robots meta tag specification defines the controls:

  • nosnippet: no text snippet or video preview for the page in any form of result. Google lists web search, Google Images, Discover, AI Overviews and AI Mode, and says the rule also prevents the content from being used as a direct input for AI Overviews and AI Mode.
  • max-snippet:[number]: use at most that many characters as a text snippet. 0 is the same as nosnippet and -1 means no limit. It also limits how much content may be used as a direct input for AI Overviews and AI Mode, except where the publisher has granted permission separately, for example through structured data or a license agreement with Google.
  • data-nosnippet: an attribute on span, div or section elements that keeps the marked text out of snippets while the rest of the page stays usable. Google advises against adding or removing it with JavaScript, because extraction can happen before or after rendering.

The page-level rules can go in a meta name="robots" tag or an X-Robots-Tag HTTP header. When rules conflict, the more restrictive one applies, so max-snippet:50 combined with nosnippet means no snippet. All of them depend on crawling: if robots.txt blocks a URL, Google never sees its meta tags.

For Google's AI features these are the main per-page levers. Google's AI features documentation says a page must be indexed and eligible to be shown with a snippet to appear as a supporting link in AI Overviews or AI Mode, and lists nosnippet, data-nosnippet, max-snippet and noindex as the way to limit what is shown from a page. Googlebot rules in robots.txt control crawling, and Google-Extended does not apply to Search at all.

The cost is that snippet controls are not AI-specific. A nosnippet tag that keeps a page out of AI Overviews also removes its text snippet in classic results and its eligibility for featured snippets, which usually lowers click-through. Until mid-2026 there was no way around that trade-off. The Search generative AI control in Search Console, available to all sites since August 31, 2026, lets a site leave all Search generative AI features without touching classic snippets, but it works per property rather than per page. Under the UK Competition and Markets Authority's June 2026 publisher conduct requirement, Google must offer UK publishers page-level controls for grounding its AI search features by March 3, 2027.

Bing handles AI answers differently. It supports nosnippet and data-nosnippet, but its Copilot-specific rules are noarchive, which keeps content out of Copilot answers and Microsoft's model training, and nocache, which limits Copilot to the URL, title and snippet. Bing's webmaster guidelines warn that nosnippet and data-nosnippet may limit Copilot citation quality. Those Copilot rules are being replaced. Microsoft announced on October 30, 2026 a page-level AI Training preference and a separate page-level AI Grounding preference (Allow, DisallowExtended or Disallow), set through a meta tag or HTTP header. It starts honoring them on February 1, 2027 and will no longer read noarchive or nocache as training or grounding preferences after March 1, 2027 (Bing). Sites that rely on noarchive to stay out of Copilot answers need to switch before then.

In GEO work, snippet controls are most useful in small doses. A publisher can wrap paywalled paragraphs or price tables in data-nosnippet so AI features cannot reproduce them, while the rest of the page remains quotable and citable. A site-wide nosnippet or max-snippet:0 is usually a mistake, often introduced by a CMS plugin, and shows up as a sudden drop in AI Overview impressions in the Generative AI performance report. After any change, use URL Inspection to confirm what Googlebot sees, and allow days to months for recrawling before judging the effect.

Examples of Snippet Controls (nosnippet, max-snippet, data-nosnippet)

  • A subscription news site wraps everything below its free intro in data-nosnippet. AI Overviews can still link to the article and use the intro, but no longer summarize the paywalled reporting.
  • A SaaS company's SEO plugin update adds max-snippet:0 to every page. AI Overview impressions in Search Console fall close to zero within two weeks, and URL Inspection reveals the new X-Robots-Tag header.
  • A price comparison site marks its live price tables with data-nosnippet so AI answers don't quote prices that change hourly, while the buying guide text above the table stays quotable.
  • An ecommerce brand finds Microsoft Copilot cites its product pages with only a title and URL. A legacy nocache meta tag is the cause, and removing it lets Copilot use the page content again.

Terms related to Snippet Controls (nosnippet, max-snippet, data-nosnippet)

Featured Snippets

Featured snippets are Google answer boxes quoting one page above the organic results. They have become rare as AI Overviews took over the same queries.

SEO

AI Overview

An AI Overview is a Gemini-written summary at the top of Google results, with links to the sources it used. It appears only when Google deems it helpful.

AI

AI Mode

AI Mode is Google Search's conversational AI experience. It runs on Gemini, uses query fan-out, and answers multi-step questions with cited links.

AI

Robots.txt

Robots.txt is a root-level file that tells crawlers which URLs they may fetch. It now decides whether AI search and training bots can reach your content.

SEO

Search Generative AI Control

The Search generative AI control is a Search Console setting that lets a site opt out of AI Overviews, AI Mode and Discover AI features without leaving Search.

SEO

Google-Extended

Google-Extended is a robots.txt token that controls Gemini training and Gemini app grounding. It does not remove a site from AI Overviews or AI Mode.

SEO

SERP Features

SERP features are results-page elements beyond standard links, like AI Overviews, featured snippets, local packs and People Also Ask, each with its own rules.

SEO

Generative AI Performance Report (Search Console)

The generative AI performance report in Google Search Console shows the impressions your pages earn in AI Overviews and AI Mode, by page, country and device.

Analytics

Bing Index

The Bing index is Microsoft's web index. It powers Bing, grounds Microsoft Copilot and is one of the search sources ChatGPT queries for its answers.

SEO

AI Preferences (IETF aipref)

AI Preferences (aipref) is an IETF draft standard for stating whether content may be used for AI training, AI use or search via robots.txt or an HTTP header.

SEO

Frequently Asked Questions about Snippet Controls (nosnippet, max-snippet, data-nosnippet)

Learn about AI visibility monitoring and how Promptwatch helps your brand succeed in AI search.

Be the brand AI recommends

Monitor your brand's visibility across ChatGPT, Claude, Perplexity, and Gemini. Get actionable insights and create content that gets cited by AI search engines.

Promptwatch Dashboard