SEO2 min read

Google max-snippet: What the Robots Directive Controls

Google's max-snippet robots rule sets the maximum number of characters Google may show in a text snippet. Use a number to set a limit, 0 to prevent a text snippet, or -1 for no limit. Without the rule, Google chooses the snippet.

Available in

Updated October 2026Source: Google Search Central: Robots meta tag, data-nosnippet and X-Robots-Tag

Reviewed context
Term snapshot

A robots rule that sets the maximum number of characters Google may show in a text snippet for a page, and limits how much of it may be used as direct input for AI Overviews and AI Mode.

Search context

Site owners who manage web content and SEO, particularly when reviewing search engine optimization directives.

01What it does

The rule goes in a robots meta tag in the HTML head, or in an X-Robots-Tag HTTP header for files such as PDFs. Google applies it to every kind of result: web search, Images, Discover, AI Overviews and AI Mode, and it also limits how much of the content may be used as direct input for AI Overviews and AI Mode. It limits length only: it does not choose which text Google shows, and it does not affect image or video previews.

It caps how much of your page's text Google may quote under your link, and in its AI answers.

02The three kinds of value

<meta name="robots" content="max-snippet:150"> <!-- at most 150 characters -->
<meta name="robots" content="max-snippet:0"> <!-- no text snippet; the same as nosnippet -->
<meta name="robots" content="max-snippet:-1"> <!-- no limit; Google chooses the length -->

03Where the limit does not apply

The limit does not override permissions you give separately. Content supplied as in-page structured data, or covered by a license agreement with Google, can still be used for those purposes. When rules conflict, the more restrictive one wins: with both max-snippet:50 and nosnippet, no snippet is shown. A value Google cannot parse is ignored.

04How to check it

Look for the rule in the page source or in the response headers, then use URL Inspection in Search Console to see the page as Google last crawled it. Changes apply after Google recrawls the page.

05Common mistakes

  • Expecting the rule to choose the snippet text. It only caps the length.
  • Setting a very low number on pages that need clicks: searchers see too little to decide.
  • Using it to hide part of a page. data-nosnippet on that element does that.
  • Confusing it with max-image-preview and max-video-preview, which control the other previews.

06Frequently asked questions

What is max-snippet?

A robots rule that limits how many characters Google may show in a text snippet for a page. A number sets the limit, 0 shows no text snippet and -1 sets no limit.

Does max-snippet apply to AI Overviews?

Yes. Google applies it to all its result types, including AI Overviews and AI Mode, and it also limits how much of the content may be used as direct input for them.

Is max-snippet:0 the same as nosnippet?

Yes. Google documents max-snippet:0 as equivalent to nosnippet.

Does max-snippet control which text Google shows?

No. It caps the length. Google still chooses the text, and structured data you provide can still be used.

See it in GLLmolfar

GLLmolfar's AI tab lists, under “Can AI read and quote it”, the pages that carry nosnippet or max-snippet: 0.

07More in SEO

08From GetLoopLoop

GetLoopLoop
Measures whether AI assistants — ChatGPT, Gemini, Claude, Perplexity — name a brand on the buyer questions it chooses, and keeps every answer as evidence. Access by invitation.
GLLmolfar
Our free desktop crawler for Windows and macOS, in preview. It crawls your own site on your computer and shows what search engines and AI crawlers find on its pages — a way to check terms like this one in practice.
GetLoopLoop news
A weekly digest of what changed in search, AI assistants and the ads around them, every claim dated and linked to its source.

09Sources

Source: GetLoopLoop Glossary — https://www.getlooploop.com/glossary/max-snippet. Last updated 31 October 2026.

Written by

Prepared at GetLoopLoop

Written from the sources listed on this page, with automated checks.

Updated October 2026

The whole entry

CC BY 4.0 — Free to reuse with a link back to this page. Quotations and illustrations stay under the licences of their own sources.