AEO
Nosnippet and Data-Nosnippet: Controlling AI Answers
Key takeaways
- Google says there are no extra requirements to appear in AI Overviews or AI Mode beyond being indexed and snippet-eligible.
- nosnippet and max-snippet limit what Google's AI features can use directly; data-nosnippet does it for single sections.
- Bing supports data-nosnippet and says marked content is still indexed and can rank.
- Controls take effect only after a recrawl, and robots.txt blocking makes them unreadable.
- Restricting snippets can reduce how often you are shown or cited, so apply controls narrowly.
What controls do site owners have over AI answers?
Google's documentation names four ways to limit what Search shows from your pages: nosnippet, data-nosnippet, max-snippet and noindex. Per Google's page on AI features, these are the controls for AI Overviews and AI Mode as well. Bing has its own set, including nosnippet, data-nosnippet, nocache and noarchive. None of them is a ranking tool. They are restriction tools, and each one trades some visibility for control.
Do you need special markup to appear in AI Overviews?
According to Google's AI features documentation, there are "no additional requirements" to appear in AI Overviews or AI Mode. To appear as a supporting link, a page must be indexed and eligible to appear in Search with a snippet. Google adds that meeting these conditions does not guarantee crawling, indexing or serving. The practical consequence: a page that has opted out of snippets has also opted out of being a snippet-eligible supporting link.
How do nosnippet and max-snippet work?
Google's robots meta tag documentation says nosnippet stops a text snippet and video preview from being shown for the page, though a static image thumbnail may still appear. The rule covers web search, Google Images, Discover, AI Overviews and AI Mode, and it also keeps the content from being used as direct input for the AI features.
The max-snippet directive sets a character cap. Per Google, max-snippet:0 behaves like nosnippet, and max-snippet:-1 leaves the length to Google. The cap also limits how much content AI Overviews and AI Mode can use, unless the publisher has separately granted permission, for example through in-page structured data or a license agreement. If rules conflict, the more restrictive one wins.
| Control | Scope | Source's description |
|---|---|---|
| nosnippet | Whole page | No text snippet or video preview; also limits direct use by Google's AI features |
| max-snippet:N | Whole page | Caps snippet length; limits AI feature use |
| data-nosnippet | Sections (span, div, section) | Excludes marked parts from snippets |
| noindex | Whole page | Keeps the page out of Search results |
When is data-nosnippet the better choice?
The data-nosnippet attribute works only on span, div and section elements, according to Google. Its value is ignored, and the HTML must be valid: an unclosed tag can extend the exclusion to everything after it. Google also advises against adding or removing the attribute with JavaScript on existing elements, because content may be extracted before and after rendering.
Bing announced support for the attribute in a post dated October 15, 2025. Bing says marked sections are excluded from snippets and AI summaries, and that "any content marked with data-nosnippet is still indexed normally" and remains available for ranking. Bing describes its plain nosnippet as the broader directive that blocks text and preview thumbnails entirely. For a business, section-level control suits a paywalled excerpt, a price list you do not want quoted, or sensitive text, while leaving the rest of the page eligible.
What do Bing's nocache and noarchive do?
In a September 2023 announcement about Bing Chat, Microsoft described two directives. With NOCACHE, content can still appear in answers, but Bing shows only the URL, title and snippet, and training use is limited to those same elements. With NOARCHIVE, content is excluded from Bing Chat answers and is not linked in them. Bing says content with either tag still appears in regular search results. That post predates Bing's current naming, so confirm current behavior in Bing Webmaster Tools before relying on it.
What should you check before applying them?
First, controls are discovered only when a URL is crawled. Google's robots meta documentation says that if robots.txt blocks crawling, the rules are ignored, and its AI features page says recrawling can take anywhere from several days to several months. Bing says changes can take from seconds to about a week. Second, Google's documentation says robots meta limits generally do not apply to structured data, with narrow exceptions, so review your markup separately. Third, Google's documentation points to Google-Extended for limiting AI training and grounding in some other Google systems; it is a separate robots.txt mechanism and not a substitute for snippet controls in Search.
This article is informational analysis. No source reviewed here quantifies how much visibility restricted pages lose, so treat any such number you see elsewhere with caution.
Frequently asked questions
Do I need to add anything to appear in Google AI Overviews?
Google says there are no additional requirements or special optimizations beyond being indexed and eligible to appear in Search with a snippet. Meeting that bar does not guarantee being shown.
Does nosnippet stop AI Overviews from using my page?
Google's documentation says nosnippet covers AI Overviews and AI Mode and keeps the content from being used as direct input for them. It also removes the text snippet from regular results.
Does data-nosnippet hurt my Bing rankings?
Bing says content marked with data-nosnippet is still indexed normally and remains available for ranking. It is only excluded from snippets and AI summaries.
How long until the change takes effect?
Only after the page is recrawled. Google says that can take several days to several months, while Bing says seconds to about a week.
Sources
- AI features and your website — Google Search Central
- Robots meta tag, data-nosnippet, and X-Robots-Tag specifications — Google Search Central
- Bing Introduces Support for the data-nosnippet HTML Attribute — Microsoft Bing Webmaster Blog
- Announcing new options for webmasters to control usage of their content in Bing Chat — Microsoft Bing Webmaster Blog
Keep reading
See how AIrecommend.ai helps businesses get found and recommended by AI assistants.