noindex vs nosnippet for Google's AI answers
noindex removes a page from Google Search, AI Overviews and AI Mode included. nosnippet keeps the page listed without a text preview, and Google says it also stops the text being a direct input for AI Overviews and AI Mode. Both work only if Googlebot can crawl the page.
Use noindex when a page should not be found in Google at all. Use nosnippet when a page should stay findable but its text should not be quoted.
7 days free · card required
- answers that told the reader about noindex
- 30
- n=4,740 answers
- answers that mentioned nosnippet, data-nosnippet or max-snippet
- 0
- n=4,740 answers
Analyst · Counted these readingsEvery ChatGPT and Perplexity answer to our tracked prompts, attensira.com workspace, read over the Attensira MCP on 5 October 2026 · to Question: how to get my docs cited by ChatGPT
ChatGPT answered: 3. Don't accidentally use noindex. If a page has a noindex directive, search engines can be instructed not to index it. OpenAI specifically notes that noindex can prevent a disallowed page from being surfaced beyond just a link/title.
Sources cited
- 1help.openai.com
- 2developers.openai.com
- 3openai.com
Researcher · Read this answerStored answer to a related question we track, “how to get my docs cited by ChatGPT”, attensira.com workspace, Attensira MCP · · n=1 answerUpdated
Researcher · read the AI answers shown here
Analyst · counted the readings in the charts
How do noindex and nosnippet compare?
| Criterion | Noindex | Nosnippet |
|---|---|---|
| At a glance | ||
| What Google is told not to do | Show the page, media or resource in search results | Show a text snippet or video preview for the page |
| Page still appears as a result | No· Dropped entirely, regardless of inbound links | Yes· The listing stays, without preview text |
| Makes the page ineligible for Google's AI features | Yes· A supporting link must be indexed, and this page is not | Yes· As a supporting link; Google requires snippet eligibility |
| Effect on AI Overviews and AI Mode | Page excluded, with Search | Text not used as a direct input |
| Setting it and how it fails | ||
| Versus the Search Console "Search generative AI" setting | Use noindex to leave Search entirely; the setting only leaves AI features | Use nosnippet per page; the setting is all or nothing for the site |
| Partial version | None; it is all or nothing | max-snippet and data-nosnippet |
| Implementation methods documented | Meta tag or HTTP header, with the same effect | Robots meta rule, plus the data-nosnippet attribute |
| Fails silently if robots.txt blocks the page | Yes; Google never sees the rule | Yes; Google never sees the rule |
| Header form for non-HTML files | X-Robots-Tag: noindex | X-Robots-Tag: nosnippet |
| What we measured | ||
| attensira.com, 5 pages (our data, read 4 Oct 2026) | Not set on any of the 5 | Not set; max-snippet:-1 on all 5 |
| In Perplexity's stored answer to 'how to block AI crawlers in robots.txt' (4 Oct 2026) | Yes· Recommended for private content | No· Not mentioned |
| Recorded per page by Attensira | Robots meta tag kept with each page version | Robots meta tag kept with each page version |
- At a glance
What Google is told not to do
- Noindex
- Show the page, media or resource in search results
- Nosnippet
- Show a text snippet or video preview for the page
Page still appears as a result
- Noindex
- No· Dropped entirely, regardless of inbound links
- Nosnippet
- Yes· The listing stays, without preview text
Makes the page ineligible for Google's AI features
- Noindex
- Yes· A supporting link must be indexed, and this page is not
- Nosnippet
- Yes· As a supporting link; Google requires snippet eligibility
Effect on AI Overviews and AI Mode
- Noindex
- Page excluded, with Search
- Nosnippet
- Text not used as a direct input
- Setting it and how it fails
Versus the Search Console "Search generative AI" setting
- Noindex
- Use noindex to leave Search entirely; the setting only leaves AI features
- Nosnippet
- Use nosnippet per page; the setting is all or nothing for the site
Partial version
- Noindex
- None; it is all or nothing
- Nosnippet
- max-snippet and data-nosnippet
Implementation methods documented
- Noindex
- Meta tag or HTTP header, with the same effect
- Nosnippet
- Robots meta rule, plus the data-nosnippet attribute
Fails silently if robots.txt blocks the page
- Noindex
- Yes; Google never sees the rule
- Nosnippet
- Yes; Google never sees the rule
Header form for non-HTML files
- Noindex
- X-Robots-Tag: noindex
- Nosnippet
- X-Robots-Tag: nosnippet
- What we measured
attensira.com, 5 pages (our data, read 4 Oct 2026)
- Noindex
- Not set on any of the 5
- Nosnippet
- Not set; max-snippet:-1 on all 5
In Perplexity's stored answer to 'how to block AI crawlers in robots.txt' (4 Oct 2026)
- Noindex
- Yes· Recommended for private content
- Nosnippet
- No· Not mentioned
Recorded per page by Attensira
- Noindex
- Robots meta tag kept with each page version
- Nosnippet
- Robots meta tag kept with each page version
What is noindex?
A robots rule, available as a meta tag or an HTTP response header, telling Google not to show a page, media item or resource in search results at all, regardless of who links to it.
What is nosnippet?
A robots rule telling Google not to show a text snippet or video preview for a page in search results, leaving the listing itself in place but removing the preview text beneath it.
When should you choose noindex?
Use noindex when a page should not be found in Google at all. Typical cases are thin utility pages, staging copies, internal search results and thank-you pages. It removes the page from Search and from Google's AI features in one step, as long as Googlebot can crawl the page and see the rule.
When should you choose nosnippet?
Use nosnippet when a page should stay findable but its text should not be quoted. The finer data-nosnippet and max-snippet often do the job better, for paid content previews, legal wording or material you license. Google says nosnippet also stops the content being a direct input for AI Overviews and AI Mode.
When is neither the right choice?
Neither rule is documented by OpenAI, Perplexity or Anthropic for their answer engines; their documented control is robots.txt for their crawlers. And neither works if robots.txt blocks Googlebot from the page, because Google will never see the rule.
Where does Attensira fit?
Worth a look if you want to know which of your pages carry which rule: Attensira keeps each page's robots meta tag with every version it reads, and shows which pages ChatGPT, Perplexity, Claude, Gemini and Google AI cite. Whatever it takes to win the answer.
What sets noindex and nosnippet apart?
- Asked how to block AI crawlers, Perplexity named noindex for private content and never nosnippet, although nosnippet is the rule that keeps a page findable while keeping its text out of Google's AI answers.
- The two rules are usually confused with robots.txt, and the combination fails silently: a Disallow on the same URL hides either rule from Googlebot, so the page can stay indexed from links.
- Only Google documents these rules for its AI features; OpenAI and Perplexity document robots.txt tokens instead, so a nosnippet tag protects text from one company's answers, not from all of them.
What does each rule do?
noindex tells Google not to show a page, media item or resource in search results. When Googlebot crawls a page and finds a noindex meta tag or header, Google drops the page from Search results entirely, whoever links to it. Because AI Overviews and AI Mode are Search features, and Google requires a page to be indexed to appear in them as a supporting link, noindex removes the page from those too.
nosnippet tells Google not to show a text snippet or video preview for a page in search results. The page stays indexed and can still rank; its listing just has no preview text. Google's documentation now adds the part that matters here: nosnippet will also prevent the content from being used as a direct input for AI Overviews and AI Mode.
What are the finer controls?
Two siblings of nosnippet let you be more precise. max-snippet sets a maximum number of characters for the text snippet, and Google says it will also limit how much of the content may be used as a direct input for AI Overviews and AI Mode. data-nosnippet is an HTML attribute you put on span, div and section elements to mark text that should not be used as a snippet, leaving the rest of the page usable.
noindex
- Scope
- Whole page
- In Search
- Removed
- In AI Overviews and AI Mode
- Removed with Search
nosnippet
- Scope
- Whole page
- In Search
- Listed, no preview text
- In AI Overviews and AI Mode
- Text not a direct input; no supporting link
max-snippet
- Scope
- Whole page, by length
- In Search
- Preview capped
- In AI Overviews and AI Mode
- Limits how much text is a direct input
data-nosnippet
- Scope
- Marked elements
- In Search
- Marked text left out of previews
- In AI Overviews and AI Mode
- Marked text left out
Google lists all four, nosnippet, data-nosnippet, max-snippet and noindex, as the ways to limit how a page appears in its AI features. It also says there are no additional requirements to appear in those features and no special files or schema needed, so these four are the whole control surface on Google's side.
When should you use noindex?
When a page should not be found in Google at all. Internal search results, thin tag and filter pages, staging copies, thank-you and confirmation pages, duplicate print versions. For these, removing them from Search is the point, and removing them from AI Overviews comes with it.
noindex is the wrong tool for a page you want found but not quoted. It removes the page from every Google surface, and there is no partial version.
When should you use nosnippet or its siblings?
When a page should stay findable but its text should not be reused. Paid content where the preview would give the answer away. Licensed text you are not allowed to have excerpted. Legal or regulatory wording that must not appear out of context. In each case nosnippet, or more often data-nosnippet on the sensitive sections, keeps the page in Search while keeping the protected text out of previews and, by Google's statement, out of direct use in AI Overviews and AI Mode.
The cost is real. A result without a snippet usually attracts fewer clicks, and a page whose text cannot be used is unlikely to be the supporting link in an AI Overview for that topic. Use the narrowest control that does the job: data-nosnippet on a paragraph before nosnippet on a page, max-snippet before either if the concern is only length.
Why are these rules often ignored?
Because robots.txt blocks the page. Google states that if a page is disallowed from crawling through robots.txt, any information about indexing or serving rules will not be found and will be ignored. The page can then stay indexed, from links, with no snippet control at all, because Google never read the rule. This is the most common mistake on this topic: a team adds noindex and a robots.txt disallow at the same time, and the second defeats the first.
# robots.txt: this group stops Googlebot reading the rule below
User-agent: *
Disallow: /search/
# in the head of /search/?q=pricing: never seen, so never applied
<meta name="robots" content="noindex">The fix is ordering. To remove a page from Google, let Googlebot crawl it, serve the noindex rule, wait for the page to drop out, and only then consider whether a robots.txt rule is needed at all.
What did an answer engine tell people to use?
We track "how to block AI crawlers in robots.txt" every day. Perplexity's stored answer of 4 October 2026 closed with the right warning, that robots.txt is a polite instruction and not access control, and then advised "authentication and/or noindex" for private content. Half of that is sound. The other half needs the caveat above: if the same URL is also disallowed in robots.txt, Google never reads the noindex, and the page can stay in Search from links. The answer did not mention nosnippet at all, though it is the rule most sites asking that question actually want. That is the pattern across everything we track: in the 30 days to 4 October 2026, 30 of 4,740 ChatGPT and Perplexity answers told the reader about noindex, and none mentioned nosnippet, data-nosnippet or max-snippet. One ChatGPT answer of 30 September put it as a warning, "Don't accidentally use noindex"; no answer offered the finer rule.
Where the engine learned this shows in its sources. Across 30 Perplexity answers to the prompt in 30 days, the most-cited domains were searchenginejournal.com (20 of 290 citations, 6.9%), github.com and cyberciti.biz (19 each). Google's developer documentation, where both rules are defined, was not among Perplexity's six most-cited domains for the prompt. ChatGPT, asked the same question, gave developers.google.com 608 of 1,507 citations (40.4%). The same question, two engines, two very different reading lists.
When is the Search Console setting better than nosnippet?
When the decision is about the whole site, not a page. Google's Search Console now has a "Search generative AI" control, rolled out to all sites by 31 August 2026. Set to exclude, it keeps the site out of AI Overviews, AI Mode and AI Overviews in Discover, both as links and as grounding for the answer, while the site stays in ordinary results. Google says the change generally takes a few days to apply.
That makes it a third option beside the two rules. noindex leaves Search entirely, page by page. nosnippet and its siblings keep a page in Search and keep its text out of previews and AI answers, page by page or passage by passage. The setting is site-wide and all or nothing for AI features. A publisher that wants nothing quoted in AI answers uses the setting; a company that wants its pricing quoted but its licensed report protected uses data-nosnippet on the report and leaves the setting alone.
How do you set them on files that are not HTML?
With a header. Google states that any rule you can use in a robots meta tag can also be sent as an X-Robots-Tag HTTP response header. In the page and on the wire, the two look like this:
<meta name="robots" content="nosnippet">
HTTP/1.1 200 OK
X-Robots-Tag: noindexThat is the only way to apply noindex or nosnippet to PDFs, images and other files that have no head element. data-nosnippet is the exception, because it marks parts of an HTML page and has no header form.
Do other answer engines follow these rules?
Their documentation does not say so. OpenAI's crawler page and Perplexity's describe robots.txt tokens, OAI-SearchBot and PerplexityBot, as the control for whether their search features can use a page. Neither mentions noindex or nosnippet. If you need a page kept out of ChatGPT search or Perplexity, disallow that path for their crawlers in robots.txt. If you need part of a page kept out of their answers, there is no documented equivalent of data-nosnippet; the honest options are to move the content behind authentication or accept that it can be quoted.
That asymmetry is worth writing down in your policy. A team that adds nosnippet to protect licensed text may believe it has protected it from all AI answers, when it has only addressed Google's.
Where does Perplexity learn crawler rules?
Across 30 Perplexity answers to "how to block AI crawlers in robots.txt" in the 30 days to 4 October 2026, the most-cited domains were third-party guides. Google's developer documentation, where noindex and nosnippet are defined, was not among Perplexity's six most-cited domains for the prompt. None of the 30 answers named or cited Attensira.
- searchenginejournal.com (20 citations)
- 6.9%
- n=290 citations
- github.com (19)
- 6.6%
- n=290 citations
- cyberciti.biz (19)
- 6.6%
- n=290 citations
Analyst · Counted these readingsPerplexity answers to one tracked prompt, read over the Attensira MCP, attensira.com workspace · to How do you audit what your pages say?
Read the rules from the live pages, not from templates. Fetch each important URL, record the robots meta tag and any X-Robots-Tag header, and compare against robots.txt for the same path. Look for three patterns: a noindex on a page you want found, usually left over from a staging deploy; a nosnippet on a commercial page, usually added for one reason and forgotten; and a noindex on a page that robots.txt blocks, which does nothing.
Attensira's page inventory records each page's robots meta tag and canonical as part of reading the page, which is how this audit can run continuously instead of once. The next question is whether the pages you allow are the ones AI answers use, which only reading the answers can tell you.
What does a worked example look like?
Take a software company with a public pricing page, a gated report and a long legal page:
Pricing
- Setting
- No noindex, no snippet limit
- Why
- It should be found and quoted; state the price in plain text near the top
Gated report landing page
- Setting
- Indexed, data-nosnippet on the findings summary
- Why
- Findable, without giving the answer away in a preview
Legal terms
- Setting
- Indexed, a low max-snippet
- Why
- Findable, not quoted at length
Internal search results
- Setting
- noindex, and crawlable in robots.txt
- Why
- Out of Search, and Google can see the rule
Every one of those decisions is a page-level choice about Google. None of them changes what ChatGPT or Perplexity can read, which is decided in robots.txt.
What should you check after changing a rule?
Three things, over a few weeks. That Googlebot fetched the page after the change, which your server or edge logs show. That the page's status in Google matches the rule, which Search Console's URL inspection shows for a single page. And, for nosnippet or max-snippet, whether AI Overviews that used to cite the page still do, which only reading the answers for the relevant queries can show. Google does not report AI Overview citations separately in Search Console, so the last check has to be done by reading results.
What about pages you want quoted?
Most commercial pages are in this group, and the right setting is no rule at all: indexable, snippet-eligible, with the text you want quoted written plainly near the top. Check that no template adds nosnippet or a low max-snippet site-wide, which happens more often than it should when a rule added for one section is applied in a shared layout. A site-wide max-snippet of a few dozen characters quietly limits how much of every page Google's AI features may use.
This is how we set our own site. On 4 October 2026 we fetched five attensira.com pages, including the home page, pricing and this one: each says index, follow, sets max-snippet:-1 (no limit) in its googlebot tag, and sends no X-Robots-Tag header. Five pages is a spot check, not an audit; the tags come from shared layouts, so on most sites checking one page per template covers the rest.
How should you choose?
Start from the outcome. If the page should not be found in Google, use noindex and let it be crawled. If it should be found but not quoted, use the narrowest snippet control that protects what needs protecting. If it should be found and quoted, which is most commercial pages, use neither, and put the effort into making the quotable part worth quoting. Rules can only take a page out of an answer; nothing in a meta tag can put one in.
Questions people ask
Which robots meta tags affect Google AI Overviews?
Should I use nosnippet or the Search Console generative AI setting?
Will nosnippet remove my page from Google Search?
Why is my noindex being ignored?
Do ChatGPT and Perplexity respect nosnippet?
Can I keep only part of a page out of AI Overviews?
Can I set these rules without editing HTML?
Where do these facts come from?
16 sourced claims, each with the page it was read on and the day.
Google's Search Console "Search generative AI" control, rolled out to all websites by 31 August 2026, lets a site owner exclude the site from appearing in and grounding generative AI Search features such as AI Overviews, AI Mode and AI Overviews in Discover; Google says exclusion generally takes a few days.
support.google.com · retrieved · changes often, check the source
Google documents the noindex rule as instructing it not to show the page, media or resource in search results.
developers.google.com · retrieved
“Do not show this page, media, or resource in search results.”
Google states that when Googlebot crawls a page and extracts a noindex tag or header, the page is dropped entirely from Google Search results regardless of whether other sites link to it.
developers.google.com · retrieved
“Google will drop that page entirely from Google Search results, regardless of whether other sites link to it.”
Google documents two ways to implement noindex, a meta tag and an HTTP response header, and states they have the same effect.
developers.google.com · retrieved
“two ways to implement noindex: as a meta tag and as an HTTP response header. They have the same effect.”
Google states that for noindex to be effective the page must not be blocked by robots.txt, because a crawler that cannot access the page will never see the rule and the page can still appear in search results.
developers.google.com · retrieved
“If the page is blocked by a robots.txt file or the crawler can't access the page, the crawler will never see the noindex rule, and the page can still appear in search results.”
Google documents the nosnippet rule as instructing it not to show a text snippet or video preview in the search results for a page.
developers.google.com · retrieved
“Do not show a text snippet or video preview in the search results for this page.”
Show all 16 sourcesShow fewer
Google documents data-nosnippet as an HTML attribute letting a site designate textual parts of a page not to be used as a snippet.
developers.google.com · retrieved
“You can designate textual parts of an HTML page not to be used as a snippet”
Google states that to appear in AI Overviews or AI Mode a page must be indexed and eligible to be shown in Google Search with a snippet.
developers.google.com · retrieved
“a page must be indexed and eligible to be shown in Google Search with a snippet, fulfilling the Search technical requirements”
Google names nosnippet, data-nosnippet, max-snippet and noindex as the controls for limiting how content appears in its AI features, noting that AI is built into Search.
developers.google.com · retrieved
Google states that nosnippet also prevents the content from being used as a direct input for AI Overviews and AI Mode.
developers.google.com · retrieved
“will also prevent the content from being used as a direct input for AI Overviews and AI Mode”
Google states that max-snippet also limits how much of the content may be used as a direct input for AI Overviews and AI Mode.
developers.google.com · retrieved
Google states that if a page is disallowed from crawling through robots.txt, any information about indexing or serving rules on it will not be found and will be ignored.
developers.google.com · retrieved
Google states that any rule usable in a robots meta tag can also be specified as an X-Robots-Tag HTTP response header.
developers.google.com · retrieved
In the attensira.com workspace, read over the Attensira MCP, Perplexity's stored answer of 4 October 2026 to the tracked prompt 'how to block AI crawlers in robots.txt' advised authentication and/or noindex for private content and did not mention nosnippet.
attensira.com workspace, read over the Attensira MCP on · changes often, check the source
Attensira reads the pages in a site's inventory on a schedule and keeps each version's canonical link and robots meta tag, recording a change when either differs.
docs.attensira.com · retrieved
On 4 October 2026 we fetched five attensira.com pages (/, /pricing, /blog, /compare/noindex-vs-nosnippet, /compare/gptbot-vs-oai-searchbot); all five returned 200 with a robots meta tag of "index, follow" and a googlebot meta tag of "index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1", and none sent an X-Robots-Tag header.
attensira.com · retrieved · changes often, check the source
Put the crew to work on your brand, 7 days free.
7 days free · card required