/ โ† AI Visibility Fixes / Opt Out of AI Overviews
In this guide
  1. Stopping AI Overviews: searcher or site owner?
  2. The controls Google gives site owners
  3. How to add nosnippet to a page or a whole site
  4. Protecting only part of a page with data-nosnippet
  5. Limiting length with max-snippet
  6. What these controls cannot do
  7. The fix, step by step
  8. Edge cases worth knowing
  9. Keeping the setting under control
  10. Questions and answers

Stopping AI Overviews: searcher or site owner?

People ask how to get rid of AI Overviews for two different reasons, and the answers are not the same.

For searchers, Google does not offer a setting that switches AI Overviews off. What you can do is use the Web filter under the search box, which shows a plain list of links without the summary. That filter uses the URL parameter udm=14, so you can make it your default by adding a custom search engine in your browser settings with this address:

https://www.google.com/search?q=%s&udm=14

In Chrome, go to Settings, Search engine, Manage search engines and site search, add it, and make it the default. Results from that engine show only web links.

The rest of this guide is for site owners. You have real controls over how Google uses your content, but every one of them also changes how your pages look in normal search, so it pays to know the cost before you switch anything on.

The controls Google gives site owners

Google treats AI Overviews as part of Search, so the controls are the same preview controls that already govern snippets in normal results. There is no separate opt-out that removes you from AI Overviews while leaving your normal listing untouched.

ControlEffect on AI OverviewsCost in normal search
nosnippetPage content is not used as a direct inputNo text snippet under your result; also no featured snippet
data-nosnippetThe marked passage is not usedThat passage cannot appear in your snippet; the rest of the page can
max-snippet:NGoogle may use at most N characters of textShorter snippets; small values can make results look bare
noindexThe page is not used at allThe page disappears from Google Search entirely
Google-Extended in robots.txtNoneNone; it controls some Gemini uses outside Search

The last row surprises many people. Blocking Google-Extended is a sensible choice if you do not want your content used for Gemini apps or model training, but Google states it does not affect inclusion or ranking in Search, and that includes AI Overviews. The AI crawler blocks guide explains the other AI user agents.

โš ๏ธ Do not block Googlebot in robots.txt to escape AI Overviews. It removes you from Google Search as a whole, and pages blocked by robots.txt can still appear as bare URLs without any description.

How to add nosnippet to a page or a whole site

The simplest control is a robots meta tag in the page head:

<meta name="robots" content="nosnippet">

To target Google only and leave other search engines alone, use googlebot as the name instead of robots. If the page already has a robots tag, add the value with a comma, for example index, follow, nosnippet. Do not leave two robots tags with conflicting values, because Google applies the most restrictive combination. The robots meta guide covers how the values combine.

Sending it as a header

For PDFs and other files with no HTML head, or to cover a whole folder, send an X-Robots-Tag header from the server. On nginx:

location /members-guides/ {
    add_header X-Robots-Tag "nosnippet" always;
}

On Apache with mod_headers, in the site configuration or .htaccess:

<FilesMatch "\.pdf$">
    Header set X-Robots-Tag "nosnippet"
</FilesMatch>

On Plesk, add the Apache lines under Apache and nginx Settings, Additional directives, or the nginx block under Additional nginx directives, depending on which server answers the request.

WordPress and other platforms

Some SEO plugins offer this directly: Rank Math has No Snippet and Max Snippet options in the advanced robots settings of each post. If yours does not, add the tag with a small function in a child theme or a code snippets plugin, limited to the posts you choose. On Shopify, add a conditional robots tag in theme.liquid for the templates you want to cover.

Protecting only part of a page with data-nosnippet

If you are happy for Google to show most of the page but want to hold back one part, such as a members' answer, a price table or a recipe method, wrap that part in an element with the data-nosnippet attribute:

<p>Our full weekend sourdough schedule is below.</p>
<div data-nosnippet>
  <p>Friday 6 pm: feed the starter at 1:5:5...</p>
  <p>Saturday 9 am: mix the dough at 75% hydration...</p>
</div>

Google supports the attribute on span, div and section elements. A few rules decide whether it works:

๐Ÿ’ก Keep a clear one-line summary outside the protected block. Your search result then still has a useful description, while the detail that matters to your business stays out of summaries.

Limiting length with max-snippet

The max-snippet value sets the maximum number of characters Google may use as a text snippet from the page:

<meta name="robots" content="max-snippet:80">

A value of 0 is the same as nosnippet, and -1 means no limit. Google applies the limit across its search features, so it caps how much of your text can be used in AI Overviews as well as in the normal snippet. It does not stop your page being linked; it limits how much of it can be quoted.

This is a compromise rather than an opt-out. A summary can still draw on a short passage, and a value of 50 to 100 characters often produces snippets that cut off mid-sentence. Test it on a few pages and look at the results before applying it site-wide. If your concern is one specific block of content, data-nosnippet is usually the cleaner tool.

Check what Google can actually see after any change:

curl -sI https://www.example.com/guides/weekend-bake/ | grep -i x-robots-tag
curl -s https://www.example.com/guides/weekend-bake/ | grep -io '<meta name="\(robots\|googlebot\)"[^>]*>'

What these controls cannot do

Before you switch anything on, be clear about the limits:

For many small businesses the better choice is the opposite: stay in AI Overviews, but make sure the page gives people a reason to click. The AI Overviews citation guide covers that approach.

The fix, step by step

Step 1

Decide what you want to protect

List the pages or passages you do not want used in AI Overviews, and why: paid content, original research, prices that change often, or a method you sell. Be specific, because every control also affects your normal search listing. For most sites the answer is a handful of pages or one block per page, not the whole site. Write the list down so you can review it later and remove restrictions that no longer make sense.

Step 2

Check what is already set

Before adding anything, check the current robots meta tags and headers on each page with curl, looking for the robots and googlebot meta names and the X-Robots-Tag header. Note any existing noindex, nosnippet or max-snippet values set by a theme or plugin. Fixing a conflicting tag first stops you stacking rules you do not understand, and it shows whether a restriction is already in place without your knowledge.

Step 3

Use data-nosnippet for single passages

Where only part of a page needs protecting, wrap it in a div, section or span with the data-nosnippet attribute, and keep a short summary outside it so your normal result still has a description. Check the HTML is valid and the element is closed. Then use URL Inspection's live test and view the tested page to confirm the attribute is present in the rendered HTML that Google sees.

Step 4

Use nosnippet for whole pages

For pages that should never be quoted, add nosnippet to the robots meta tag, or as a value alongside existing ones such as index, follow, nosnippet. Use googlebot as the meta name if you only want it to apply to Google. In WordPress use your SEO plugin's advanced robots settings where it offers them. Confirm with curl that exactly one robots tag is printed and that it carries the value you meant.

Step 5

Send headers for files and folders

For PDFs, documents or a whole directory, add an X-Robots-Tag header in the server configuration: add_header with always on nginx, or Header set inside a FilesMatch block on Apache. On Plesk, use the additional directives fields for the domain. Test the configuration, reload the server, then request one of the files with curl -sI and confirm the header appears in the response with the value you set.

Step 6

Consider max-snippet as a middle path

If you want to stay quotable but limit how much text can be used, set max-snippet to a number of characters, such as 120. Apply it to a few pages first and look at how your results appear after Google recrawls them. Very small values produce clipped snippets that can reduce clicks. Remember that a value of 0 is the same as nosnippet, and -1 removes the limit.

Step 7

Leave Googlebot and Google-Extended in their place

Do not block Googlebot in robots.txt to avoid AI Overviews, because it removes you from Search. Block Google-Extended only if you also want to opt out of Gemini uses outside Search, and know that it will not change AI Overviews. Check robots.txt with the robots.txt report in Search Console afterwards to confirm the file was fetched and that Googlebot is still allowed everywhere it should be.

Step 8

Purge caches and confirm the recrawl

Purge your page cache and CDN so the new head or header is served to everyone. Request indexing for the key pages in URL Inspection. Then watch the access log for Googlebot's next request to each URL and check it received a 200 response with the new tags. Until that recrawl happens, Google is still working from the old copy, and old snippets or summaries may continue to appear.

Edge cases worth knowing

Keeping the setting under control

Snippet controls are easy to forget and expensive when they spread. Write down which pages carry them and why, then check after every theme, plugin or template change.

Questions and answers

1. How do I stop Google AI Overviews using my content?

You stop AI Overviews using your content with Google's snippet controls: nosnippet for a whole page, data-nosnippet for a passage, or max-snippet to limit how much text can be used. Add them in the robots meta tag or the X-Robots-Tag header, then wait for Google to recrawl the page. Each of these also changes your normal search listing, because AI Overviews are part of Search. Blocking Google-Extended in robots.txt does not affect AI Overviews, and blocking Googlebot removes you from Search entirely.

2. How do I get rid of AI Overview when I search?

You cannot switch AI Overviews off in your Google account, but you can avoid them by clicking the Web filter under the search box, which shows only links. That filter uses the address parameter udm=14. To make it your default, add a custom search engine in your browser with the address https://www.google.com/search?q=%s&udm=14 and set it as the default. Searches typed into the address bar will then go straight to the plain web results without the summary.

3. Does blocking Google-Extended remove my site from AI Overviews?

No, blocking Google-Extended does not remove your site from AI Overviews. Google-Extended is a robots.txt token that controls whether your content is used for some Gemini apps and model training outside Search. Google states it has no effect on inclusion or ranking in Google Search, and AI Overviews are part of Search. They are built from the index that Googlebot creates when it crawls your pages. To limit AI Overviews you need nosnippet, data-nosnippet or max-snippet on the pages themselves.

4. Will nosnippet hurt my rankings?

Nosnippet is not a ranking factor in itself, so it should not move your position, but it can cost you clicks. Your result will appear without any description text, and the page cannot be shown as a featured snippet. A bare result with only a title and URL is less persuasive than one with a clear description, so click-through rates often fall. Use it only on the pages that truly need it, and use data-nosnippet for single passages where you can.

5. Can I opt out of AI Overviews but keep my normal snippets?

Not completely, because Google offers no control that applies to AI Overviews only. The closest option is data-nosnippet around the passages you want to protect, with a short summary left outside it so that your normal snippet still has useful text to show. Another middle path is max-snippet, which limits how many characters can be used anywhere in Search. Both reduce how much of your content can appear in summaries while keeping a description under your normal result.

6. How long does it take for nosnippet to work?

Nosnippet takes effect when Google next crawls the page, which can be within a day for busy pages or several weeks for rarely visited ones. You can speed it up by requesting indexing in URL Inspection after the change. Check your server access log for Googlebot's next request to the URL to confirm it fetched the new version. Until then, Google works from the previous copy, so existing snippets and summaries may still appear for a while after you make the change.

7. Does the Search Console Removals tool remove my page from AI Overviews?

The Removals tool hides a URL from Google Search as a whole, including AI Overviews, but only temporarily, for about six months. It is meant for urgent cases such as content published by mistake, not as an AI opt-out. When the period ends, the page can return unless it now carries noindex, has been deleted, or is protected another way. For a lasting change on a page that stays live, use nosnippet, data-nosnippet or max-snippet instead.

Check your robots and snippet settings

Our robots and sitemap audit reads the robots meta tags, X-Robots-Tag headers and robots.txt rules on your pages, so you can see exactly which ones restrict snippets or indexing.

Open AI Visibility Fixes โ†’
๐Ÿ’ฌ Got a problem?
Related Guides: All AI Visibility Fixes  ·  How to get cited in AI Overviews  ·  Fixing robots meta tags  ·  Fixing AI crawler blocks in robots.txt  ·  How to noindex a page  ·  Learning Hub

About aiwebpageseo

aiwebpageseo.com is a data-driven SEO and AEO (Answer Engine Optimisation) platform providing a free suite of technical SEO tools. Rather than relying on AI-theorised assumptions, the platform analyses live URL performance, delivering objective diagnostics, page speed metrics, CLS debugging, and site crawl data alongside actionable technical tutorials.