Free auditStart free
GlossaryGlossary · On-page SEO

max-snippet

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.

3 min
read
2
sources
Oct 30, 2026
updated
Scaplet Editorial Team
author
In one line

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.

30-second check

Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

4 facts from the sources below
`max-snippet:[number]`
Syntax
No snippet, like `nosnippet`
0
Google chooses the length
-1
Google chooses the length
Default
02At a glance

Anatomy of the tag

Part

max-snippet:160

Behavior
Limits the text snippet to 160 characters
Part

max-image-preview:large

Behavior
Allows a preview up to the viewport width
Part

Comma-separated list

Behavior
Several rules in one content attribute
Part

X-Robots-Tag header

Behavior
Google says any rule usable in a meta tag can also go in this header
Cap text at 160 characters, allow a large image
<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
03Worth knowing

Conflicts and what max-snippet does not limit

Conflicts resolve to the stricter rule

Google's example: a page with both max-snippet:50 and nosnippet gets nosnippet.

It does not cap structured data

Google says max-snippet does not limit information supplied through structured data for rich results. A recipe page stays eligible for the recipe carousel.

One exception exists

The article.description value, and description for other creative works, can be limited with max-snippet.

Permissions you grant elsewhere win

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.

Part of a page only

To keep specific sections out of snippets, Google points to the data-nosnippet attribute instead. See data-nosnippet.

04How it works

Check it in 2 minutes

See what the page sends
# 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'
Set a limit if
  • You need a hard cap on how much text is shown for licensing or business reasons
  • You want the text capped but images still allowed
  • You can confirm the page is crawlable so Google reads the rule
Leave it out if
  • You have no reason to restrict text, since Google then chooses the length
  • You only want to hide one section, where `data-nosnippet` fits better
  • You expect it to change structured data or rich results, which it does not
  1. 01

    Confirm the page is crawlable

    Check robots.txt does not disallow the URL, or the directive is invisible to Google.

  2. 02

    Look for conflicts

    Search the page and its headers for nosnippet or max-snippet:0 that would override a looser value.

  3. 03

    Pick the 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.

Sources · 2

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • google.com
  1. 01Robots meta tag, data-nosnippet, and X-Robots-Tag specifications (Google Search Central)developers.google.com · checked 2026-11-01
  2. 02Control your snippets in search results (Google Search Central)developers.google.com · checked 2026-11-01
Questions

Asked a lot.

2 questions people ask next, answered from the sources on this page.

01What does max-snippet:-1 mean?

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.

02Is max-snippet:0 the same as nosnippet?

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.

Free · 2 minutes

Know the term. Now check your site.

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly