How to Stop Google AI Overviews Using Your Content
Many site owners want to stop Google's AI Overviews from summarising their pages, and many searchers want to stop seeing the summaries at all. Both are common requests, and both run into the same fact: AI Overviews are part of Google Search, not a separate product with its own off switch. The controls that exist are the same snippet controls that shape your normal results, so using them has a cost in visibility and clicks. This guide covers the quick way for a searcher to avoid the summaries, then explains for site owners what nosnippet, data-nosnippet, max-snippet and Google-Extended each do, how to add them, what they cost and what they cannot do.
- Stopping AI Overviews: searcher or site owner?
- The controls Google gives site owners
- How to add nosnippet to a page or a whole site
- Protecting only part of a page with data-nosnippet
- Limiting length with max-snippet
- What these controls cannot do
- The fix, step by step
- Edge cases worth knowing
- Keeping the setting under control
- 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.
- As a searcher, you want to stop seeing the summary at the top of your own results.
- As a site owner, you want to stop Google using your pages to write those summaries.
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.
| Control | Effect on AI Overviews | Cost in normal search |
|---|---|---|
nosnippet | Page content is not used as a direct input | No text snippet under your result; also no featured snippet |
data-nosnippet | The marked passage is not used | That passage cannot appear in your snippet; the rest of the page can |
max-snippet:N | Google may use at most N characters of text | Shorter snippets; small values can make results look bare |
noindex | The page is not used at all | The page disappears from Google Search entirely |
Google-Extended in robots.txt | None | None; 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.
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:
- The HTML must be valid, with the element properly closed, or Google may not be able to tell where the protected part ends.
- If the protected text is added by JavaScript, the attribute must be present in the rendered HTML Google sees. URL Inspection's view of the crawled page shows whether it is.
- Wrapping most of the page has the same practical effect as
nosnippet, and Google may then write a snippet from whatever is left, such as navigation text.
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:
- They cannot remove you from AI Overviews alone. Every control that works also changes your normal listing. There is no AI-only switch in Search.
- They cannot stop summaries of other pages about you. If a directory, forum or news site writes about your business, Google can draw on those pages. Your tags only govern your own pages.
- They are not instant. Google has to recrawl the page before the change applies. Watch your server logs for Googlebot's next visit to confirm it fetched the new version.
- The Removals tool is not an opt-out. It hides a URL from Search as a whole for about six months, then the page returns unless it has
noindexor is gone. - They do not affect other AI services. ChatGPT, Perplexity and others have their own crawlers. See the AI crawler access guide.
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
- Your meta description disappears. With
nosnippet, Google shows no description at all, even the one you wrote. That is expected, not a bug; see meta description not showing for other causes. - Conflicting tags from plugins. A theme and an SEO plugin can each print a robots tag. Google combines them and applies the most restrictive, so a forgotten
nosnippetcan hide snippets site-wide. - Header set on some responses only. nginx drops
add_headeron error responses unless you addalways, and alocationblock with its ownadd_headerdoes not inherit the parent's headers. - CDN caching. If the CDN caches HTML, purge it after changing tags so Googlebot sees the new head.
- Images and video.
nosnippetalso stops video previews. Usemax-image-previewandmax-video-previewfor finer control over media.
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.
- Run a crawl monthly and list every page with
nosnippet,max-snippetornoindex, so nothing is restricted by accident. - Compare clicks and impressions for restricted pages in Search Console before and after the change. If clicks fall sharply, the cost may outweigh the benefit.
- Review the decision every six months. Google's AI features change, and the trade-off for your business may change with them.
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.
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 โ