Search Engine Optimization (SEO)

Noindex vs Nosnippet: Which Google Search Setting Hides What, Including From AI Overviews

A macro photograph of a single pinecone on a dark slate surface, some of its woody scales spread open to show the seeds inside while the scales on the other side stay tightly closed, a visual for noindex vs nosnippet and the Google Search settings that decide which parts of a page are shown and which stay hidden

The difference in noindex vs nosnippet is simple. Noindex removes a page from Google Search. Nosnippet keeps the page listed but shows no text snippet. Google’s documentation says nosnippet also keeps the page out of the direct inputs for AI Overviews and AI Mode.

Our readers keep asking a version of one question. How do I keep this content out of Google’s AI answers and still stay in Search? Google now answers it in one place. Its Search documentation updates log shows an October 21, 2026 update to the "control what you share with Google Search" page. That page now lists the robots meta tag, data-nosnippet, X-Robots-Tag and the Search generative AI control side by side.

The short version: use noindex to remove a page. Use nosnippet, max-snippet or data-nosnippet to limit what Google shows from a page that stays in Search. Use the Search generative AI control in Search Console to opt a whole site out of AI Overviews and AI Mode. Use Google-Extended for training in Google’s other AI systems. None of these work if robots.txt blocks Googlebot from the page.

This post covers each setting, a decision table, code you can copy, and how to confirm Google saw the change. For the measurement side, see our post on the generative AI performance report and opt-out.

What Google lists on the updated page

Google’s Control what you share with Google Search page was last updated October 21, 2026. It lists seven methods. Removing the content comes first. The page calls that "the best way" to keep content out of Search.

The other six are:

  • Password protection.
  • The noindex rule.
  • Robots.txt, for images and video only.
  • Page-level and text-level settings: the robots meta tag, data-nosnippet and X-Robots-Tag.
  • The Search generative AI control.
  • Opting out of specific Google properties, such as Google Shopping.

The log entry also notes "minor clarifications that the page applies to Google Search" in this update. The page does not name nosnippet, max-snippet or Google-Extended. Those sit in Google’s robots meta tag and crawler documentation, cited below.

Noindex vs nosnippet: the core difference

Google’s robots meta tag documentation defines each rule. For noindex, it says "Do not show this page, media, or resource in search results" and the page leaves Search.

For nosnippet, it says "Do not show a text snippet or video preview in the search results for this page" and the page stays as a title and link. Google adds that nosnippet "will also prevent the content from being used as a direct input for AI Overviews and AI Mode."

So the noindex vs nosnippet choice comes down to one question. Do you want the page found at all? A members-only policy draft on a public URL needs noindex, or better, a password. A public fee schedule you want found, but not quoted in an AI answer, is a nosnippet case.

Two rules apply to both. First, Googlebot has to crawl the page to read either one. If robots.txt blocks the page, Google says serving rules "will therefore be ignored" by its crawler. Second, when rules conflict, "the more restrictive rule applies" in Google’s words.

A noindex vs nosnippet decision table

The table covers noindex vs nosnippet and the other settings Google documents, matched to common goals. Scope matters. Some settings work per page, one works per text block, and one covers a whole Search Console property.

Goal Setting Scope Effect on regular Search
Keep a page out of Google Search noindex (meta tag or X-Robots-Tag) One page or file Page is dropped from results
Keep private content private Password protection or removal Any content Content cannot be crawled
Keep images or video out of results robots.txt disallow Media files Media is not indexed
Stay listed, show no snippet, stay out of AI Overviews input nosnippet One page Title and link only
Shorten the snippet max-snippet:[number] One page Snippet capped at that length
Hide one part of a page from snippets data-nosnippet A span, div or section Rest of the page can still be used
Apply rules to PDFs and other files X-Robots-Tag HTTP header One file or file type Same as the meta tag
Opt a site out of Search’s generative AI features Search generative AI control Search Console property Google says it is not a ranking signal
Limit training and grounding in Google’s other AI systems Google-Extended in robots.txt Whole site Google says no effect on Search

How to write each rule

Meta tags go in the page’s head. HTTP headers go in the server response. The examples below follow Google’s documentation.

Rule Example Notes
noindex <meta name="robots" content="noindex"> Google’s own example
nosnippet <meta name="googlebot" content="nosnippet"> The googlebot name applies only to Google; robots applies to all crawlers
max-snippet <meta name="robots" content="max-snippet:160"> 0 means no snippet; -1 lets Google choose
data-nosnippet <span data-nosnippet>$185 member dues</span> Works on span, div and section
X-Robots-Tag X-Robots-Tag: noindex HTTP header for PDFs and other files

Google’s robots meta tag page says a max-snippet value of 0 is "Equivalent to nosnippet." A value of -1 lets Google pick the length.

For files, Google’s noindex guide says the header and the meta tag "have the same effect." It adds that the header works for "non-HTML resources, such as PDFs, video files, and image files."

Most CMS platforms set meta tags through an SEO plugin or module. The header usually needs a server rule or a hosting setting. Ask your host or developer if your platform has no field for it.

Using data-nosnippet for part of a page

data-nosnippet is the most precise of the snippet tools. It marks part of a page so Google does not use it as a snippet. It works on span, div and section elements only.

Google warns that the marked section "must be valid HTML and all appropriate tags must be closed." An unclosed div can pull in the rest of the page. Check the rendered HTML after a theme update.

Google’s AI features guide lists data-nosnippet with nosnippet, max-snippet and noindex. It calls them the controls to "limit the information shown from your pages in Search."

That makes data-nosnippet a good fit for a page that should rank. Use it on one block you do not want quoted. Prices, staff phone numbers and draft wording are common cases.

The Search generative AI control in Search Console

The site-wide option lives in Search Console, not in your HTML. Google’s Search generative AI control help page says it covers three features. They are AI Overviews, AI Mode and generative AI features in Google Discover. Google says that list may change.

If you exclude a site, Google says crawled content "won’t be eligible to be used as an input to generate an AI response" in those features. It also says "this control isn’t used as a ranking or inclusion signal affecting other parts of Search." For full removal, the page points back to noindex.

The setting is under Settings, then Search generative AI. Each property can be set to Include, Exclude, or Inherit from parent. Include is the default. A child property, such as a subdomain or URL prefix, can override its parent.

Google says exclusion "generally takes a few days." Its help page says the control rolled out to all websites worldwide as of August 31, 2026.

Think of this as noindex vs nosnippet at site scale. Nosnippet hides snippets and AI input page by page. The control removes AI input for a whole property and leaves normal snippets alone.

Where Google-Extended fits

Google-Extended is a robots.txt token, not a meta tag. Google’s common crawlers page describes what it covers. It manages whether crawled content may be used to train future Gemini models and for grounding.

The same page says "Google-Extended does not impact a site’s inclusion in Google Search nor is it used as a ranking signal in Google Search." The Search generative AI control help page adds one point. It says Google-Extended is the tool to limit training of the models behind Search’s AI features.

On October 30, Google announced plans to support a shared AI training control in robots.txt. It aims to support it with other AI providers in 2027. We covered that in our post on Google’s shared AI training control. Other AI search tools use their own crawlers and rules. Our AI crawler access audit lists them.

Robots.txt is not a way to hide a page

Blocking a page in robots.txt feels like the safe choice. Google’s robots.txt introduction says it "is not a mechanism for keeping a web page out of Google" and explains why. A blocked URL can still show up in results, just without a description.

A block also hides your noindex or nosnippet tag from Google. Google’s noindex guide says that with a robots.txt block, "the crawler will never see the noindex rule." So a robots.txt block undoes both sides of the noindex vs nosnippet choice.

Use robots.txt for crawl control and for image, video and audio files. Use noindex for pages.

How to confirm a noindex vs nosnippet change

Start with URL Inspection in Search Console. It shows the HTML Googlebot received. Google’s AI features guide says to "Make sure that the preview control is correct and visible to Googlebot."

Then allow time. The same guide says crawling can take "anywhere from several days to several months." The noindex guide warns that "it may take months for Googlebot to revisit a page." You can request a recrawl for important pages. For urgent removals, the noindex guide points to Google’s removals documentation.

Watch traffic after the change. Our traffic drop walkthrough shows how to read Search Console when clicks move. Our technical SEO foundations post covers the crawl basics underneath all of this.

Frequently Asked Questions

What is the main difference in noindex vs nosnippet?

Noindex removes the page from Google Search results. Nosnippet keeps the page listed but shows no text snippet or video preview. Google says nosnippet also keeps the page from being a direct input for AI Overviews and AI Mode.

Does nosnippet keep my page out of AI Overviews?

Google’s robots meta tag documentation says nosnippet prevents the content from being used as a direct input for AI Overviews and AI Mode. The page can still rank as a plain link.

Can I hide only part of a page from Google snippets?

Yes. Add the data-nosnippet attribute to a span, div or section element. Keep the HTML valid and close every tag, or the rule can spread to the rest of the page.

Should I use robots.txt to keep a page out of Google?

No. Google says robots.txt is not a mechanism for keeping a page out of Google, and a blocked URL can still appear without a description. Use noindex or password protection instead.

How do I noindex a PDF?

Send an X-Robots-Tag: noindex HTTP header with the file. Google says the header has the same effect as the meta tag and works for non-HTML files such as PDFs.

Does the Search generative AI control affect my rankings?

Google’s help page says the control is not used as a ranking or inclusion signal for other parts of Search. It only affects whether your content can appear in certain generative AI features.

Does Google-Extended remove my site from AI Overviews?

Google says Google-Extended covers training and grounding and does not affect Search inclusion or ranking. To keep content out of AI Overviews and AI Mode, use nosnippet or the Search generative AI control.

What if a page has both rules in a noindex vs nosnippet conflict?

Google’s documentation says the more restrictive rule applies. If a page carries both noindex and nosnippet, noindex wins and the page leaves Search.

How long until Google applies a noindex vs nosnippet change?

It depends on when Google recrawls the page. Google says crawling can take from several days to several months. Check the live HTML with URL Inspection and request a recrawl for key pages.

Digital Matters

Search Engine Optimization (SEO) Desk