Technical setup

How do I stop Google AI Overviews from using my content?

Short answer

Google’s controls for AI Overviews and AI Mode are its snippet controls. The nosnippet rule or the data-nosnippet attribute keeps text out of snippets and AI features, max-snippet limits how much text can be shown, and noindex removes a page from Search altogether. Blocking Google-Extended does not do it. Each option also changes how the page appears in normal results.

Updated · 2 sources

Example

HTML examples

<!-- Whole page: no snippet text, including in AI features -->
<meta name="robots" content="nosnippet">

<!-- Limit snippets to 50 characters -->
<meta name="robots" content="max-snippet:50">

<!-- Exclude one section only -->
<div data-nosnippet>Members-only pricing details</div>

Trade-offs

Snippet controls also apply to your normal search listing, so a page with nosnippet shows no description under its title. Use data-nosnippet to exclude only the parts you need to protect.

Sources

  1. Google Search Central: AI features and your website
  2. Google Search Central: Robots meta tag, data-nosnippet and X-Robots-Tag