max-snippet:[number]
- Controls
- Text snippet length in characters
- Values
0none,-1no limit set by you, or a number- If unspecified
- Google chooses the length
max-snippet caps how many characters Google may show in a text snippet. Values 0 and -1, how it combines with nosnippet, its image and video siblings, and limits.
max-snippet:[number] is a robots meta directive that limits the text snippet Google shows for a page to that many characters. 0 means no snippet, equivalent to nosnippet, and -1 lets Google choose the length. It does not affect image or video previews, and it is ignored if robots.txt blocks the page.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
max-snippet controls text only, so a page can cap its text and still allow a large image.max-snippet:[number]0 none, -1 no limit set by you, or a numbermax-image-preview:[setting]none, standard, largemax-video-preview:[number]0 a static image at most, -1 no limit, or a numbernosnippetA value without a parseable number is ignored for max-snippet and max-video-preview. For the wider picture of how Google builds a snippet, see snippet.
max-snippet:160max-image-preview:largecontent attributeX-Robots-Tag header<meta name="robots" content="max-snippet:160, max-image-preview:large">
<!-- Same rules as an HTTP header, useful for PDFs -->
X-Robots-Tag: max-snippet:160, max-image-preview:large Google's example: a page with both max-snippet:50 and nosnippet gets nosnippet.
Google says max-snippet does not limit information supplied through structured data for rich results. A recipe page stays eligible for the recipe carousel.
The article.description value, and description for other creative works, can be limited with max-snippet.
Google says the limit does not apply where a publisher has granted permission separately, such as through in-page structured data or a license agreement.
To keep specific sections out of snippets, Google points to the data-nosnippet attribute instead. See data-nosnippet.
# Meta tag in the HTML
curl -s https://example.com/page | grep -io '<meta[^>]*name="robots"[^>]*>'
# Header version
curl -sI https://example.com/page | grep -i 'x-robots-tag'Check robots.txt does not disallow the URL, or the directive is invisible to Google.
Search the page and its headers for nosnippet or max-snippet:0 that would override a looser value.
Choose -1 or leave it out to let Google decide, or a number to cap the text. Choose 0 only if you want no text snippet.
2 questions people ask next, answered from the sources on this page.
Google documents -1 as letting it choose the snippet length it considers most effective, with no limit set by you. Leaving the rule out has the same effect: Google chooses the length.
Google says 0 means no snippet, equivalent to nosnippet. Google also says nosnippet applies to AI Overviews and AI Mode as direct input, so see the snippet page for how those controls relate.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.