nosnippet and other snippet controls
Also known as: nosnippet · data-nosnippet · max-snippet · max-image-preview · preview controls
You set them in the robots meta tag (<meta name="robots" content="max-snippet:50">), in the X-Robots-Tag HTTP header, or for a specific piece of text with the data-nosnippet attribute. nosnippet forbids any snippet, max-snippet limits the number of characters and max-image-preview the size of image previews.
Why it matters
Google writes that nosnippet, data-nosnippet, max-snippet and noindex limit what is shown from your pages in Search, including AI Overviews and AI Mode. A page must be eligible to show a snippet to appear as a supporting link in those AI features. The controls therefore also affect regular results and featured snippets. Apple uses nosnippet to keep pages out of broad world-knowledge answers in Siri and Search.
What to do
- Use
data-nosnippetfor a single block that must not be quoted, rather than the whole page. - If you only want to stay out of Google's AI features, use the Search generative AI control in Search Console.
- Use URL Inspection in Search Console to check that Googlebot sees the control.
Sources
Related terms
How does your site perform?
The free scan checks your technical setup and measures whether ChatGPT, Gemini, Claude and Perplexity mention you.